docker/traefik/config/traefik.yaml

42 lines
841 B
YAML

api:
dashboard: true
entryPoints:
web:
address: :80
http:
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
websecure:
address: :443
http:
tls:
certResolver: letsencrypt
domains:
- main: meftimes.com
sans:
- "*.meftimes.com"
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
watch: true
network: proxy
#defaultRule: "Host(`{{ index .Labels \"com.docker.compose.service\"}}.meftimes.com`)" # would be nice to get working
file:
filename: /config/dynamic.yaml
certificatesResolvers:
letsencrypt:
acme:
email: all.other@slmail.me
storage: acme.json
keyType: EC384
dnsChallenge:
provider: cloudflare