From fd891579e7b637d3fdb7ed3b8cb2fec171ba0ccd Mon Sep 17 00:00:00 2001 From: Jean Froment Date: Sun, 25 Oct 2020 21:18:00 +0100 Subject: [PATCH] Rollback to inline config for Traefik pilot --- docker-compose.yml | 2 +- traefik/custom/pilot.yaml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 traefik/custom/pilot.yaml diff --git a/docker-compose.yml b/docker-compose.yml index 31f1390..456dba0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: restart: always command: - --certificatesresolvers.le.acme.email=${ACME_MAIL} + - --pilot.token=${PILOT_TOKEN} ports: - "80:80" - "443:443" @@ -17,7 +18,6 @@ services: environment: - TRAEFIK_DOMAIN=${TRAEFIK_DOMAIN} - TZ=${TZ} - - PILOT_TOKEN=${PILOT_TOKEN} labels: - "traefik.enable=true" # Docker labels for enabling Traefik dashboard diff --git a/traefik/custom/pilot.yaml b/traefik/custom/pilot.yaml deleted file mode 100644 index 375c08c..0000000 --- a/traefik/custom/pilot.yaml +++ /dev/null @@ -1,2 +0,0 @@ -pilot: - token: "{{env "PILOT_TOKEN"}}" \ No newline at end of file