Rollback to inline config for Traefik pilot

This commit is contained in:
Jean Froment 2020-10-25 21:18:00 +01:00
parent f569bf18f1
commit fd891579e7
2 changed files with 1 additions and 3 deletions

View File

@ -7,6 +7,7 @@ services:
restart: always restart: always
command: command:
- --certificatesresolvers.le.acme.email=${ACME_MAIL} - --certificatesresolvers.le.acme.email=${ACME_MAIL}
- --pilot.token=${PILOT_TOKEN}
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
@ -17,7 +18,6 @@ services:
environment: environment:
- TRAEFIK_DOMAIN=${TRAEFIK_DOMAIN} - TRAEFIK_DOMAIN=${TRAEFIK_DOMAIN}
- TZ=${TZ} - TZ=${TZ}
- PILOT_TOKEN=${PILOT_TOKEN}
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
# Docker labels for enabling Traefik dashboard # Docker labels for enabling Traefik dashboard

View File

@ -1,2 +0,0 @@
pilot:
token: "{{env "PILOT_TOKEN"}}"