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>
10 lines
435 B
Text
10 lines
435 B
Text
# Block to add to /srv/scrum4me/caddy/Caddyfile
|
|
# After adding, restart Caddy (not reload — see deploy notes):
|
|
# 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 {
|
|
# Use Docker service-name; Caddy must share a network with ops-dashboard.
|
|
reverse_proxy ops-dashboard:3000
|
|
}
|