Disable Traefik dashboard and update TLS settings
- Set dashboard to false by default for security - Rename ENABLE_TLS to DASHBOARD_TLS for clarity - Link traefik.enable to DASHBOARD environment variable
This commit is contained in:
parent
0c72db2690
commit
01be84ec0a
@ -14,7 +14,7 @@ services:
|
|||||||
command:
|
command:
|
||||||
- --providers.docker=true
|
- --providers.docker=true
|
||||||
- --providers.docker.exposedbydefault=${EXPOSED_BY_DEFAULT:-false}
|
- --providers.docker.exposedbydefault=${EXPOSED_BY_DEFAULT:-false}
|
||||||
- --api.dashboard=${DASHBOARD:-true}
|
- --api.dashboard=${DASHBOARD:-false}
|
||||||
- --api.debug=${DEBUG:-false}
|
- --api.debug=${DEBUG:-false}
|
||||||
- --log.level=${LOG_LEVEL:-ERROR}
|
- --log.level=${LOG_LEVEL:-ERROR}
|
||||||
- --entrypoints.web.address=:80
|
- --entrypoints.web.address=:80
|
||||||
@ -26,9 +26,9 @@ services:
|
|||||||
- "traefik.http.routers.${ROUTER:-traefik}.rule=Host(`${DOMAIN:-traefik.local.krislamo.org}`)"
|
- "traefik.http.routers.${ROUTER:-traefik}.rule=Host(`${DOMAIN:-traefik.local.krislamo.org}`)"
|
||||||
- "traefik.http.routers.${ROUTER:-traefik}.service=api@internal"
|
- "traefik.http.routers.${ROUTER:-traefik}.service=api@internal"
|
||||||
- "traefik.http.routers.${ROUTER:-traefik}.entrypoints=${ENTRYPOINT:-local}"
|
- "traefik.http.routers.${ROUTER:-traefik}.entrypoints=${ENTRYPOINT:-local}"
|
||||||
- "traefik.http.routers.${ROUTER:-traefik}.tls=${ENABLE_TLS:-true}"
|
- "traefik.http.routers.${ROUTER:-traefik}.tls=${DASHBOARD_TLS:-true}"
|
||||||
- "traefik.docker.network=${NETWORK:-traefik}"
|
- "traefik.docker.network=${NETWORK:-traefik}"
|
||||||
- "traefik.enable=${ENABLE:-false}"
|
- "traefik.enable=${DASHBOARD:-false}"
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user