traefik/traefik.yml
2020-09-26 15:12:00 +02:00

46 lines
872 B
YAML

---
log:
level: INFO
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: proxy
swarmMode: true
file:
filename: /etc/traefik/file-provider.yml
api:
dashboard: false
debug: false
entrypoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: web-secure
web-secure:
address: ":443"
gitea-ssh:
address: ":2222"
smtp-submission:
address: ":587"
certificatesResolvers:
staging:
acme:
email: helo@autonomic.zone
storage: /etc/letsencrypt/staging-acme.json
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
httpChallenge:
entryPoint: web
production:
acme:
email: helo@autonomic.zone
storage: /etc/letsencrypt/production-acme.json
httpChallenge:
entryPoint: web