Move acme email into environment variables
This commit is contained in:
parent
1bd27447ff
commit
2bd4807bca
|
@ -10,6 +10,7 @@ services:
|
||||||
image: docker.io/traefik:latest
|
image: docker.io/traefik:latest
|
||||||
command:
|
command:
|
||||||
- "--configFile=/traefik.toml"
|
- "--configFile=/traefik.toml"
|
||||||
|
- "--acme.email=${ACME_MAIL:-info@example.com}"
|
||||||
environment:
|
environment:
|
||||||
- TRAEFIK_API_INSECURE=true
|
- TRAEFIK_API_INSECURE=true
|
||||||
networks:
|
networks:
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
dashboard = true
|
dashboard = true
|
||||||
|
|
||||||
[acme]
|
[acme]
|
||||||
email = "info@example.com"
|
|
||||||
storage = "acme.json"
|
storage = "acme.json"
|
||||||
entryPoint = "https"
|
entryPoint = "https"
|
||||||
onHostRule = true
|
onHostRule = true
|
||||||
|
|
Loading…
Reference in New Issue