Fix docker compose healthcheck
This commit is contained in:
@@ -115,7 +115,7 @@ services:
|
|||||||
- "127.0.0.1:8000:8000"
|
- "127.0.0.1:8000:8000"
|
||||||
- "127.0.0.1:8001:8001"
|
- "127.0.0.1:8001:8001"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl --fail http://localhost:11434 || exit 1
|
test: "curl --fail -H \"Authorization: Bearer ${LLM_API_KEY}\" http://localhost:11434 || exit 1"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
|
|||||||
Reference in New Issue
Block a user