Add Portainer Git directory to env file

This commit is contained in:
Mark Veidemanis 2022-07-28 21:27:26 +01:00
parent a61ba7b9e1
commit f9482cac63
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ services:
image: pathogen/threshold image: pathogen/threshold
build: . build: .
volumes: volumes:
- .:/code - ${PORTAINER_GIT_DIR}:/code
ports: ports:
- "${THRESHOLD_LISTENER_PORT}:${THRESHOLD_LISTENER_PORT}" - "${THRESHOLD_LISTENER_PORT}:${THRESHOLD_LISTENER_PORT}"
- "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}" - "${THRESHOLD_RELAY_PORT}:${THRESHOLD_RELAY_PORT}"

View File

@ -10,3 +10,4 @@ THRESHOLD_RELAY_SSL=1
THRESHOLD_API_ENABLED=1 THRESHOLD_API_ENABLED=1
THRESHOLD_API_HOST=0.0.0.0 THRESHOLD_API_HOST=0.0.0.0
THRESHOLD_API_PORT=13869 THRESHOLD_API_PORT=13869
PORTAINER_GIT_DIR=.