Move acme email into environment variables

This commit is contained in:
Kienan Stewart 2022-09-11 19:40:49 -04:00
parent 1bd27447ff
commit 2bd4807bca
2 changed files with 1 additions and 1 deletions

View File

@ -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:

View File

@ -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