docker-deploy/traefik/traefik.yml
2021-09-19 13:56:24 +08:00

35 lines
515 B
YAML

entryPoints:
web:
address: ":80"
websecure:
address: ":443"
providers:
docker:
exposedByDefault: false
file:
directory: "/etc/traefik/config"
api:
dashboard: true
ping: {}
certificatesResolvers:
letsencrypt:
acme:
email: "hi@esin.io"
storage: "/etc/acme/acme.json"
httpChallenge:
entryPoint: web
log:
filePath: "/var/log/traefik.log"
format: json
level: INFO
accessLog:
filePath: "/var/log/access.log"
format: json
bufferingSize: 100