mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-16 15:35:31 +01:00
🚀 feat: Add health check configuration for API service in Dockerfile and docker-compose.yml
This commit is contained in:
parent
cc8e4dbb77
commit
25d00dd0fb
2 changed files with 8 additions and 2 deletions
|
|
@ -27,6 +27,12 @@ services:
|
|||
- ./images:/app/client/public/images
|
||||
- ./uploads:/app/uploads
|
||||
- ./logs:/app/api/logs
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://api:${PORT}/health" ]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
mongodb:
|
||||
container_name: chat-mongodb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue