diff --git a/docker-compose.yml b/docker-compose.yml index 7bce405..1982dee 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: image: pathogen/threshold build: . volumes: - - .:/code + - ${PORTAINER_GIT_DIR}:/code ports: - "${THRESHOLD_LISTENER_PORT}:${THRESHOLD_LISTENER_PORT}" - "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}" diff --git a/stack.env b/stack.env index f13b650..cdc5bd8 100644 --- a/stack.env +++ b/stack.env @@ -10,3 +10,4 @@ THRESHOLD_RELAY_SSL=1 THRESHOLD_API_ENABLED=1 THRESHOLD_API_HOST=0.0.0.0 THRESHOLD_API_PORT=13869 +PORTAINER_GIT_DIR=. \ No newline at end of file