mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-20 17:26:12 +01:00
🚀 feat: Implement health check for backend service in Dockerfile
This commit is contained in:
parent
be060cbfb7
commit
cc8e4dbb77
2 changed files with 7 additions and 7 deletions
|
|
@ -27,12 +27,6 @@ services:
|
|||
- ./images:/app/client/public/images
|
||||
- ./uploads:/app/uploads
|
||||
- ./logs:/app/api/logs
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://api:${PORT}/health || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
mongodb:
|
||||
container_name: chat-mongodb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue