Move to yaml configuration
This commit is contained in:
parent
e1e4ced190
commit
70858d07a8
25
traefik.toml
25
traefik.toml
@ -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
30
traefik.yml
Normal 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"
|
Reference in New Issue
Block a user