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:
- traefik
command:
- --api.insecure=true
- --log.level=INFO
- --global.sendanonymoususage=false
- --global.checknewversion=false
- --pilot.dashboard=false
- --metrics.prometheus=true
- --api.insecure=${TRAEFIK_API_INSECURE:-true}
- --log.level=${TRAEFIK_LOG_LEVEL:-INFO}
- --global.sendanonymoususage=${TRAEFIK_GLOBAL_SENDANONYMOUSUSAGE:-false}
- --global.checknewversion=${TRAEFIK_GLOBAL_CHECKNEWVERSION:-false}
- --pilot.dashboard=${TRAEFIK_PILOT_DASHBOARD:-false}
- --metrics.prometheus=${TRAEFIK_METRICS_PROMETHEUS:-true}
- --providers.docker
- --providers.docker.exposedbydefault=false