Add bogus traefik labels to appease abra

This commit is contained in:
3wc
2023-08-19 21:12:34 +02:00
parent bf88e44249
commit c36f5498c5
2 changed files with 11 additions and 2 deletions

View File

@ -6,3 +6,5 @@ DOMAIN=caddy.example.com
#EXTRA_DOMAINS=', `www.caddy.example.com`' #EXTRA_DOMAINS=', `www.caddy.example.com`'
LETS_ENCRYPT_ENV=production LETS_ENCRYPT_ENV=production
LE_EMAIL=certs@example.com

View File

@ -14,8 +14,15 @@ services:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- caddy_data:/data - caddy_data:/data
labels: deploy:
caddy.email: "${LE_EMAIL}" labels:
- "caddy.email=${LE_EMAIL}"
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8008"
- "traefik.http.routers.${STACK_NAME}.rule="
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
networks: networks:
proxy: proxy: