tf/modules/swarm/traefik/cfg/traefik.yaml

42 lines
683 B
YAML
Raw Permalink Normal View History

2024-01-25 19:25:52 +01:00
---
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
swarmMode: true
network: "traefik"
file:
directory: "/etc/traefik/dynamic"
watch: true
entryPoints:
http:
address: ":80"
http:
redirections:
entryPoint:
to: https
scheme: https
https:
address: ":443"
metrics:
address: ":8081"
mqtt:
address: ":8883"
api:
dashboard: true
certificatesResolvers:
default:
acme:
email: post@chaoswest.tv
storage: /acme/acme.json
dnsChallenge:
provider: hetzner
delayBeforeCheck: "60"
metrics:
prometheus:
2024-01-25 19:25:52 +01:00
entryPoint: metrics