Pass through configuration directories to compose

This commit is contained in:
2022-07-29 08:31:01 +01:00
parent 743c1d6be8
commit 47312b04d4
12 changed files with 21 additions and 18 deletions

View File

@@ -6,6 +6,9 @@ services:
build: ./docker
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ${THRESHOLD_CONFIG_DIR}:/code/conf/live
- ${THRESHOLD_TEMPLATE_DIR}:/code/conf/templates
- ${THRESHOLD_CERT_DIR}:/code/conf/cert
ports:
- "${THRESHOLD_LISTENER_PORT}:${THRESHOLD_LISTENER_PORT}"
- "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}"