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