Skip to content

Commit 65b7c5f

Browse files
committed
Small fix: Remove hardcoded env-var TRAEFIK_SIMCORE_ZONE
1 parent 8b54592 commit 65b7c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/traefik/template.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ TRAEFIK_ENTRYPOINTS_REDIS_ADDRESS=${REDIS_EXTERNAL_PORT}
9494
# Providers
9595
TRAEFIK_PROVIDERS_SWARM_ENDPOINT=unix:///var/run/docker.sock
9696
TRAEFIK_PROVIDERS_SWARM_EXPOSEDBYDEFAULT=false
97-
TRAEFIK_PROVIDERS_SWARM_CONSTRAINTS='!Label(`io.simcore.zone`,`master_internal_simcore_stack`)'
97+
TRAEFIK_PROVIDERS_SWARM_CONSTRAINTS='!Label(`io.simcore.zone`,`'${TRAEFIK_SIMCORE_ZONE}'`)'
9898
TRAEFIK_PROVIDERS_FILE_DIRECTORY=/etc/traefik/
9999
TRAEFIK_PROVIDERS_FILE_WATCH=true
100100

0 commit comments

Comments
 (0)