feat(Traefik): Add variable to configure Traefik

This commit is contained in:
Simon 2021-11-11 09:45:30 +01:00
parent 1b3604715a
commit 6822fa5788
1 changed files with 6 additions and 6 deletions

View File

@ -26,12 +26,12 @@ services:
networks: networks:
- traefik - traefik
command: command:
- --api.insecure=true - --api.insecure=${TRAEFIK_API_INSECURE:-true}
- --log.level=INFO - --log.level=${TRAEFIK_LOG_LEVEL:-INFO}
- --global.sendanonymoususage=false - --global.sendanonymoususage=${TRAEFIK_GLOBAL_SENDANONYMOUSUSAGE:-false}
- --global.checknewversion=false - --global.checknewversion=${TRAEFIK_GLOBAL_CHECKNEWVERSION:-false}
- --pilot.dashboard=false - --pilot.dashboard=${TRAEFIK_PILOT_DASHBOARD:-false}
- --metrics.prometheus=true - --metrics.prometheus=${TRAEFIK_METRICS_PROMETHEUS:-true}
- --providers.docker - --providers.docker
- --providers.docker.exposedbydefault=false - --providers.docker.exposedbydefault=false