mirror of
https://github.com/docker/genai-stack.git
synced 2024-08-30 16:49:54 +03:00
Merge pull request #57 from TheCulliganMan/main
Add healthcheck to api service
This commit is contained in:
@@ -200,6 +200,11 @@ services:
|
||||
- front-end/
|
||||
ports:
|
||||
- 8504:8504
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --no-verbose --tries=1 http://localhost:8504/ || exit 1"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
|
||||
front-end:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user