change tracd path to /usr/bin/

This commit is contained in:
2025-02-11 14:29:37 +03:00
parent e7493276c9
commit 9344dfc8ca
2 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
version: "3"
name: trac
networks:
trac:

View File

@@ -12,11 +12,11 @@ RUN dnf -y install trac httpd-tools ;\
dnf -y clean all
RUN groupadd --gid $USER_GID trac ;\
useradd --shell /sbin/nologin --create-home --home-dir /home/trac --uid $USER_UID --gid $USER_GID trac
useradd --shell /usr/sbin/nologin --create-home --home-dir /home/trac --uid $USER_UID --gid $USER_GID trac
WORKDIR /home/trac
USER trac
#htpasswd .htpasswd user
CMD /usr/sbin/tracd --port 8055 --basic-auth="*,.htpasswd,realm" $(ls -d */)
CMD /usr/bin/tracd --port 8055 --basic-auth="*,.htpasswd,realm" $(ls -d */)