fix(caddy): gebruik Docker servicenaam ipv host-IP in Caddyfile

Vervang `reverse_proxy 172.18.0.1:3001` door `reverse_proxy ops-dashboard:3000`
zodat de reverse-proxy stabiel werkt via Docker service-name resolution.
Voeg comments toe als pre-conditie: Caddy moet op hetzelfde Docker-netwerk zitten.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scrum4Me Agent 2026-05-13 22:16:04 +02:00
parent e5423de319
commit 2b11b999c0

View file

@ -1,7 +1,10 @@
# Block to add to /srv/scrum4me/caddy/Caddyfile # Block to add to /srv/scrum4me/caddy/Caddyfile
# After adding, restart Caddy (not reload — see deploy notes): # After adding, restart Caddy (not reload — see deploy notes):
# docker compose restart caddy # docker compose restart caddy
# Pre-condition: the Caddy container must share the Docker network of the ops-dashboard compose stack
# so that Docker service-name resolution works.
ops.jp-visser.nl { ops.jp-visser.nl {
reverse_proxy 172.18.0.1:3001 # Use Docker service-name; Caddy must share a network with ops-dashboard.
reverse_proxy ops-dashboard:3000
} }