mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
refactor: frontend health check
This commit is contained in:
parent
c866dad55e
commit
072edfc6bc
1 changed files with 2 additions and 1 deletions
|
|
@ -113,7 +113,8 @@ services:
|
|||
command:
|
||||
- nginx-entrypoint.sh
|
||||
healthcheck:
|
||||
test: 'curl --fail -H "Host: $$FRAPPE_SITE_NAME_HEADER" http://localhost:8080/api/method/ping'
|
||||
test: |
|
||||
curl --fail -H "Host: $$FRAPPE_SITE_NAME_HEADER" http://localhost:8080/api/method/ping' | jq '.message == "pong"' | grep true || exit 1
|
||||
environment:
|
||||
BACKEND: backend:8000
|
||||
SOCKETIO: websocket:9000
|
||||
|
|
|
|||
Loading…
Reference in a new issue