31 lines
774 B
Plaintext
31 lines
774 B
Plaintext
# General environment
|
|
TRAEFIK_VERSION=latest
|
|
TRAEFIK_CERTRESOLVER=letsencrypt
|
|
TRAEFIK_DASHBOARD_WHITELIST=1.2.3.4/24
|
|
TRAEFIK_ENABLED=true
|
|
TRAEFIK_NETWORK=traefik
|
|
TRAEFIK_MATCHRULE=Host(`traefik.example.com`)
|
|
TRAEFIK_ROUTER=traefik_example_com
|
|
TRAEFIK_HTTP_MIDDLEWARES=dashboard-whitelist,http-to-https
|
|
TRAEFIK_HTTPS_MIDDLEWARES=dashboard-whitelist,hsts
|
|
|
|
# Security
|
|
TRAEFIK_TLSENABLED=true
|
|
TRAEFIK_STS_SECONDS=15552000
|
|
TRAEFIK_STS_SUBDOMAINS=true
|
|
TRAEFIK_STS_PRELOAD=true
|
|
|
|
# Certificate provider
|
|
TRAEFIK_DNSPROVIDER=hetzner
|
|
TRAEFIK_DNSPROVIDER_ENVFILE=./.env.dnsprovider
|
|
TRAEFIK_DNSRESOLVERS=1.1.1.1:53,1.0.0.1:53
|
|
LETSENCRYPT_EMAIL=admin@example.com
|
|
|
|
# Debugging
|
|
TRAEFIK_ACCESSLOG=false
|
|
TRAEFIK_LOGLEVEL=INFO
|
|
|
|
# Volumes
|
|
TRAEFIK_DYNAMIC=./config
|
|
TRAEFIK_CERTFILE=./certs.json
|