allow users to override watchtower port

This commit is contained in:
Martin McKeaveney 2021-08-20 09:47:08 +01:00
parent 73ea7a8032
commit 0fb566a3dd
3 changed files with 4 additions and 0 deletions

View File

@ -119,6 +119,8 @@ services:
watchtower-service:
image: containrrr/watchtower
ports:
- "${WATCHTOWER_PORT}:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --debug --http-api-update bbapps bbworker

View File

@ -17,4 +17,5 @@ WORKER_PORT=4003
MINIO_PORT=4004
COUCH_DB_PORT=4005
REDIS_PORT=6379
WATCHTOWER_PORT=8080
BUDIBASE_ENVIRONMENT=PRODUCTION

View File

@ -26,6 +26,7 @@ WORKER_PORT=4003
MINIO_PORT=4004
COUCH_DB_PORT=4005
REDIS_PORT=6379
WATCHTOWER_PORT=8080
BUDIBASE_ENVIRONMENT=PRODUCTION`
}