diff --git a/docker-compose.yml b/docker-compose.yml index ad37114..4a9d7b3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,10 @@ services: environment: - NOTIFY_BRIDGE_SECRET_KEY=${NOTIFY_BRIDGE_SECRET_KEY:?Set NOTIFY_BRIDGE_SECRET_KEY (min 32 chars)} - NOTIFY_BRIDGE_CORS_ALLOWED_ORIGINS=${NOTIFY_BRIDGE_CORS_ALLOWED_ORIGINS:-*} + # Homelab target: allow outbound requests to RFC1918 / link-local addresses. + # The SSRF guard otherwise rejects 10.*/172.16.*/192.168.*/169.254.* hosts, + # which breaks tracking of Immich / Gitea / etc. running on the same LAN. + - NOTIFY_BRIDGE_ALLOW_PRIVATE_URLS=1 healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8420/api/health')"] interval: 30s