Ensure Trac directory structure can be used by docker-compose
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
parent
1852f1aa2d
commit
d31ea4b73a
|
@ -11,9 +11,11 @@ services:
|
||||||
uid: "${_UID:-1000}"
|
uid: "${_UID:-1000}"
|
||||||
gid: "${_GID:-1000}"
|
gid: "${_GID:-1000}"
|
||||||
volumes:
|
volumes:
|
||||||
- ./trac:/var/lib/appdata
|
- ./trac/tahoe-lafs:/var/lib/appdata/tahoe-lafs
|
||||||
- ./trac/public_html:/trac/chrome
|
- ./trac/public_html:/var/lib/appdata/tahoe-lafs/htdocs
|
||||||
- ./trac/repos:/home/sources/git
|
- ./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
|
working_dir: /var/lib/appdata
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
|
@ -21,8 +23,7 @@ services:
|
||||||
container_name: trac.local
|
container_name: trac.local
|
||||||
ports:
|
ports:
|
||||||
- "${TRAC_PORT:-8000}:${TRAC_PORT:-8000}/tcp"
|
- "${TRAC_PORT:-8000}:${TRAC_PORT:-8000}/tcp"
|
||||||
#command: /bin/bash
|
command: tracd --port ${TRAC_PORT:-8000} ./tahoe-lafs
|
||||||
command: tracd --port ${TRAC_PORT:-8000} --auth="Tahoe-LAFS,./Tahoe-LAFS/conf/user_passwd,tahoe-lafs.org" ./Tahoe-LAFS
|
|
||||||
network_mode: "bridge"
|
network_mode: "bridge"
|
||||||
# Prevents container to hang the host
|
# Prevents container to hang the host
|
||||||
# Requires `... --compatibility run ...`
|
# Requires `... --compatibility run ...`
|
||||||
|
|
Loading…
Reference in New Issue