Add bogus traefik labels to appease abra
This commit is contained in:
@ -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
|
||||||
|
11
compose.yml
11
compose.yml
@ -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:
|
||||||
|
Reference in New Issue
Block a user