Ensure Trac directory structure can be used by docker-compose

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
bEn 2024-05-29 10:10:54 +02:00
parent 1852f1aa2d
commit d31ea4b73a
5 changed files with 6 additions and 5 deletions

View File

@ -11,9 +11,11 @@ services:
uid: "${_UID:-1000}"
gid: "${_GID:-1000}"
volumes:
- ./trac:/var/lib/appdata
- ./trac/public_html:/trac/chrome
- ./trac/repos:/home/sources/git
- ./trac/tahoe-lafs:/var/lib/appdata/tahoe-lafs
- ./trac/public_html:/var/lib/appdata/tahoe-lafs/htdocs
- ./trac/log:/var/lib/appdata/tahoe-lafs/log
- ./trac/trac.htdigest:/home/trac/trac.htdigest
- ./trac/repos:/home/source/git
working_dir: /var/lib/appdata
stdin_open: true
tty: true
@ -21,8 +23,7 @@ services:
container_name: trac.local
ports:
- "${TRAC_PORT:-8000}:${TRAC_PORT:-8000}/tcp"
#command: /bin/bash
command: tracd --port ${TRAC_PORT:-8000} --auth="Tahoe-LAFS,./Tahoe-LAFS/conf/user_passwd,tahoe-lafs.org" ./Tahoe-LAFS
command: tracd --port ${TRAC_PORT:-8000} ./tahoe-lafs
network_mode: "bridge"
# Prevents container to hang the host
# Requires `... --compatibility run ...`

View File

0
trac/repos/.gitkeep Normal file
View File

0
trac/tahoe-lafs/.gitkeep Normal file
View File