fix(service): Plunk API & health check endpoint (#4925)

- Add health endpoint to Plunk healthcheck
- Add NODE_OPTIONS common fix
This commit is contained in:
Arxk
2025-01-22 12:09:46 -05:00
committed by GitHub
parent 08e6c68513
commit b5e88adc2b

View File

@@ -25,9 +25,10 @@ services:
- APP_URI=${SERVICE_FQDN_PLUNK}
- API_URI=${SERVICE_FQDN_PLUNK}/api
- DISABLE_SIGNUPS=${DISABLE_SIGNUPS:-False}
- NODE_OPTIONS=--no-network-family-autoselection
entrypoint: [ "/app/entry.sh" ]
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3000"]
test: ["CMD-SHELL", "(wget -S --spider http://127.0.0.1:3000/api/health 2>&1 | grep -q \"HTTP/1.1 [1-3]\")"]
interval: 2s
timeout: 10s
retries: 15