2022-01-22 22:27:55 +00:00
|
|
|
# General environment
|
2024-05-02 11:34:19 +00:00
|
|
|
TRAEFIK_VERSION=latest
|
2022-01-22 22:27:55 +00:00
|
|
|
TRAEFIK_CERTRESOLVER=letsencrypt
|
|
|
|
TRAEFIK_DASHBOARD_WHITELIST=1.2.3.4/24
|
|
|
|
TRAEFIK_ENABLED=true
|
|
|
|
TRAEFIK_NETWORK=traefik
|
2024-05-02 11:36:51 +00:00
|
|
|
TRAEFIK_MATCHRULE=Host(`traefik.example.com`)
|
|
|
|
TRAEFIK_ROUTER=traefik_example_com
|
2024-05-02 11:34:19 +00:00
|
|
|
TRAEFIK_HTTP_MIDDLEWARES=dashboard-whitelist,http-to-https
|
|
|
|
TRAEFIK_HTTPS_MIDDLEWARES=dashboard-whitelist,hsts
|
2022-08-16 13:53:27 +00:00
|
|
|
|
|
|
|
# Security
|
2022-01-22 22:27:55 +00:00
|
|
|
TRAEFIK_TLSENABLED=true
|
2022-08-16 13:53:27 +00:00
|
|
|
TRAEFIK_STS_SECONDS=15552000
|
|
|
|
TRAEFIK_STS_SUBDOMAINS=true
|
|
|
|
TRAEFIK_STS_PRELOAD=true
|
2021-08-13 16:15:42 +00:00
|
|
|
|
|
|
|
# Certificate provider
|
2022-08-02 10:03:51 +00:00
|
|
|
TRAEFIK_DNSPROVIDER=hetzner
|
|
|
|
TRAEFIK_DNSPROVIDER_ENVFILE=./.env.dnsprovider
|
2022-08-02 10:53:36 +00:00
|
|
|
TRAEFIK_DNSRESOLVERS=1.1.1.1:53,1.0.0.1:53
|
2024-05-02 11:36:51 +00:00
|
|
|
LETSENCRYPT_EMAIL=admin@example.com
|
2022-01-01 21:27:36 +00:00
|
|
|
|
|
|
|
# Debugging
|
|
|
|
TRAEFIK_ACCESSLOG=false
|
2022-01-15 22:11:35 +00:00
|
|
|
TRAEFIK_LOGLEVEL=INFO
|
2024-05-02 11:34:19 +00:00
|
|
|
|
|
|
|
# Volumes
|
|
|
|
TRAEFIK_DYNAMIC=./config
|
|
|
|
TRAEFIK_CERTFILE=./certs.json
|