fix: add healthcheck for frontend service

This commit is contained in:
barredterra 2024-10-14 20:35:43 +02:00
parent 4d4134840a
commit 1e07c15e66

View file

@ -113,6 +113,8 @@ services:
condition: on-failure
command:
- nginx-entrypoint.sh
healthcheck:
test: 'curl --fail -H "Host: $$FRAPPE_SITE_NAME_HEADER" http://localhost:8080/api/method/ping'
environment:
BACKEND: backend:8000
SOCKETIO: websocket:9000