use fully qualified domain names

This commit is contained in:
Florian Zirker 2024-10-24 13:46:51 +00:00
parent 6a732a3e2b
commit a69a5991b3
8 changed files with 24 additions and 23 deletions

View file

@ -9,7 +9,7 @@ services:
- serve
environment:
- TZ=UTC
- NTFY_BASE_URL=https://push.${DOMAIN}
- NTFY_BASE_URL=https://${FQDN_PUSH}
- NTFY_LISTEN_HTTP=0.0.0.0:80
- NTFY_CACHE_FILE=/var/cache/ntfy/cache.db
- NTFY_CACHE_DURATION=24h
@ -26,7 +26,7 @@ services:
- ${VOLUMES_PATH}/push/ntfy/varlib/:/var/lib/ntfy/
labels:
- "traefik.enable=true"
- "traefik.http.routers.push.rule=Host(`push.${DOMAIN}`)"
- "traefik.http.routers.push.rule=Host(`${FQDN_PUSH}`)"
- "traefik.http.routers.push.entrypoints=websecure"
- "traefik.http.routers.push.tls.certresolver=netcup"
- "traefik.http.routers.push.tls.options=intermediate@file"