Add support for Traefik v2 Pilote token

This commit is contained in:
Jean Froment 2020-10-25 20:55:06 +01:00
parent 68a2eeef4d
commit 68611dcf78
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# General Traefik (reverse proxy) settings
TRAEFIK_DOMAIN=mydomain.com
ACME_MAIL=my-email@my-provider.com
PILOT_TOKEN=mytraefiktoken # Keep it empty is not needed
# General settings
TZ="Europe/Paris"

View File

@ -7,6 +7,7 @@ services:
restart: always
command:
- --certificatesresolvers.le.acme.email=${ACME_MAIL}
- --pilot.token=${PILOT_TOKEN}
ports:
- "80:80"
- "443:443"