Move to yaml configuration

This commit is contained in:
Luke Murphy 2020-04-25 11:24:49 +02:00
parent e1e4ced190
commit 70858d07a8
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 30 additions and 25 deletions

View File

@ -1,25 +0,0 @@
[log]
level = "ERROR"
[providers.docker]
exposedByDefault = false
endpoint = "tcp://dockerproxy:2375"
network = "traefik"
[api]
dashboard = true
debug = true
[entryPoints]
[entryPoints.web]
address = ":80"
[entryPoints.web-secure]
address = ":443"
[entryPoints.dashboard]
address = ":8080"
[certificatesResolvers]
[certificatesResolvers.default.acme]
email = "helo@autonomic.zone"
storage = "acme.json"
[certificatesResolvers.default.acme.tlsChallenge]

30
traefik.yml Normal file
View File

@ -0,0 +1,30 @@
---
log:
level: "ERROR"
providers:
docker:
endpoint: "tcp://dockerproxy:2375"
exposedByDefault: false
network: "traefik"
api:
dashboard: true
debug: true
entrypoints:
web:
address: ":80"
web-secure:
address: ":443"
dashboard:
address: ":8080"
certificatesResolvers:
myresolver:
acme:
email: "helo@autonomic.zone"
storage: "acme.json"
# staging enabled, delete to go to production mode
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"