Attempt to seprate configs to match env
This commit is contained in:
18
configs/dev/traefik-v1.yml
Normal file
18
configs/dev/traefik-v1.yml
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
log:
|
||||
level: "ERROR"
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
|
||||
api:
|
||||
dashboard: true
|
||||
debug: true
|
||||
|
||||
entrypoints:
|
||||
web:
|
||||
address: ":80"
|
||||
dashboard:
|
||||
address: ":8080"
|
||||
32
configs/prod/traefik-v1.yml
Normal file
32
configs/prod/traefik-v1.yml
Normal file
@ -0,0 +1,32 @@
|
||||
---
|
||||
log:
|
||||
level: "ERROR"
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
network: "proxy"
|
||||
swarmMode: true
|
||||
|
||||
api:
|
||||
dashboard: true
|
||||
debug: true
|
||||
|
||||
entrypoints:
|
||||
web:
|
||||
address: ":80"
|
||||
web-secure:
|
||||
address: ":443"
|
||||
dashboard:
|
||||
address: ":8080"
|
||||
|
||||
# NOTE(decentral1se): still in experiment mode, so using staging certs
|
||||
certificatesResolvers:
|
||||
staging:
|
||||
acme:
|
||||
email: "helo@autonomic.zone"
|
||||
storage: "/etc/letsencrypt/acme.json"
|
||||
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
httpChallenge:
|
||||
entryPoint: "web"
|
||||
Reference in New Issue
Block a user