From a7920de824ebb8ad0796d016239d8bfa41c48d16 Mon Sep 17 00:00:00 2001 From: Dorian Date: Mon, 23 Mar 2026 00:47:49 +0000 Subject: [PATCH] fix: correct health check endpoints for fedimint, nextcloud, filebrowser - Fedimint: check port 8175 (UI) not 8174 (websocket API) - Nextcloud: check / not /status.php (returns 302 during setup) - FileBrowser: check / not /health (endpoint doesn't exist) Co-Authored-By: Claude Opus 4.6 (1M context) --- scripts/deploy-tailscale.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/deploy-tailscale.sh b/scripts/deploy-tailscale.sh index 2de3852c..a86a744a 100755 --- a/scripts/deploy-tailscale.sh +++ b/scripts/deploy-tailscale.sh @@ -705,7 +705,7 @@ LNDCONF echo ' Creating Fedimint...' sudo mkdir -p /var/lib/archipelago/fedimint \$DOCKER run -d --name fedimint --restart unless-stopped \$NET_OPT \ - --health-cmd 'curl -sf http://localhost:8174/' --health-interval=30s --health-timeout=5s --health-retries=3 \ + --health-cmd 'curl -sf http://localhost:8175/' --health-interval=60s --health-timeout=10s --health-retries=3 \ --cap-drop ALL --cap-add CHOWN --cap-add FOWNER --cap-add SETUID --cap-add SETGID --cap-add DAC_OVERRIDE \ --security-opt no-new-privileges:true \ -p 8173:8173 -p 8174:8174 -p 8175:8175 \ @@ -852,7 +852,7 @@ LNDCONF if ! \$DOCKER ps -a --format '{{.Names}}' 2>/dev/null | grep -qx filebrowser; then sudo mkdir -p /var/lib/archipelago/filebrowser \$DOCKER run -d --name filebrowser --restart=unless-stopped \ - --health-cmd 'curl -sf http://localhost:80/health' --health-interval=30s --health-timeout=5s --health-retries=3 \ + --health-cmd 'curl -sf http://localhost:80/' --health-interval=30s --health-timeout=5s --health-retries=3 \ --user 0:0 \ -p 8083:80 -v /var/lib/archipelago/filebrowser:/srv \ $FILEBROWSER_IMAGE @@ -869,7 +869,7 @@ LNDCONF if ! \$DOCKER ps -a --format '{{.Names}}' 2>/dev/null | grep -qx nextcloud; then sudo mkdir -p /var/lib/archipelago/nextcloud \$DOCKER run -d --name nextcloud --restart unless-stopped \ - --health-cmd 'curl -sf http://localhost:80/status.php' --health-interval=30s --health-timeout=5s --health-retries=3 \ + --health-cmd 'curl -sf http://localhost:80/' --health-interval=30s --health-timeout=5s --health-retries=3 \ --cap-drop ALL --cap-add CHOWN --cap-add SETUID --cap-add SETGID --cap-add DAC_OVERRIDE \ --security-opt no-new-privileges:true \ -p 8085:80 -v /var/lib/archipelago/nextcloud:/var/www/html \