fix(service): Plunk API & health check endpoint (#4925)
- Add health endpoint to Plunk healthcheck - Add NODE_OPTIONS common fix
This commit is contained in:
@@ -25,9 +25,10 @@ services:
|
|||||||
- APP_URI=${SERVICE_FQDN_PLUNK}
|
- APP_URI=${SERVICE_FQDN_PLUNK}
|
||||||
- API_URI=${SERVICE_FQDN_PLUNK}/api
|
- API_URI=${SERVICE_FQDN_PLUNK}/api
|
||||||
- DISABLE_SIGNUPS=${DISABLE_SIGNUPS:-False}
|
- DISABLE_SIGNUPS=${DISABLE_SIGNUPS:-False}
|
||||||
|
- NODE_OPTIONS=--no-network-family-autoselection
|
||||||
entrypoint: [ "/app/entry.sh" ]
|
entrypoint: [ "/app/entry.sh" ]
|
||||||
healthcheck:
|
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
|
interval: 2s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 15
|
retries: 15
|
||||||
|
Reference in New Issue
Block a user