This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
traefik.autonomic.zone/traefik.yml
2020-04-25 12:08:00 +02:00

34 lines
717 B
YAML

---
log:
level: "DEBUG"
providers:
docker:
# enable when using https://github.com/Tecnativa/docker-socket-proxy
# endpoint: "tcp://dockerproxy:2375"
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: "proxy"
swarmMode: true
domain: "traefik.swarm.autonomic.zone"
api:
dashboard: true
debug: true
entrypoints:
web:
address: ":80"
web-secure:
address: ":443"
dashboard:
address: ":8080"
certificatesResolvers:
myresolver:
acme:
email: "helo@autonomic.zone"
storage: "/letsencrypt/acme.json"
# staging enabled, delete to go to production mode
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"