Skip to content

Commit 5b9fb94

Browse files
committed
fix: adjust traefik dashboard exposure
traefik.enabled must be true in the traefik container in order for other containers to get access to the configured maintenance plugin
1 parent db7fb46 commit 5b9fb94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployments/examples/ocis_full/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http"
1414
- "--certificatesResolvers.http.acme.caserver=${TRAEFIK_ACME_CASERVER:-https://acme-v02.api.letsencrypt.org/directory}"
1515
# enable dashboard
16-
- "--api.dashboard=true"
16+
- "--api.dashboard=${TRAEFIK_DASHBOARD:-false}"
1717
# define entrypoints
1818
- "--entryPoints.http.address=:80"
1919
- "--entryPoints.http.http.redirections.entryPoint.to=https"
@@ -41,7 +41,7 @@ services:
4141
- "${DOCKER_SOCKET_PATH:-/var/run/docker.sock}:/var/run/docker.sock:ro"
4242
- "certs:/certs"
4343
labels:
44-
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}"
44+
- "traefik.enable=true"
4545
# defaults to admin:admin
4646
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$$apr1$$4vqie50r$$YQAmQdtmz5n9rEALhxJ4l.}"
4747
- "traefik.http.routers.traefik.entrypoints=https"

0 commit comments

Comments
 (0)