From 2bd4807bca28d75a979247934e156611effc3409 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Sun, 11 Sep 2022 19:40:49 -0400 Subject: [PATCH] Move acme email into environment variables --- container-compose.yml | 1 + traefik.toml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/container-compose.yml b/container-compose.yml index ed8a393..3f1151d 100644 --- a/container-compose.yml +++ b/container-compose.yml @@ -10,6 +10,7 @@ services: image: docker.io/traefik:latest command: - "--configFile=/traefik.toml" + - "--acme.email=${ACME_MAIL:-info@example.com}" environment: - TRAEFIK_API_INSECURE=true networks: diff --git a/traefik.toml b/traefik.toml index 2b8b66c..4f43ebb 100644 --- a/traefik.toml +++ b/traefik.toml @@ -17,7 +17,6 @@ dashboard = true [acme] - email = "info@example.com" storage = "acme.json" entryPoint = "https" onHostRule = true