fix(service): add health check to Bugsink service (#5512)
This commit is contained in:

committed by
GitHub

parent
78ce16d50d
commit
787a56ce51
@@ -36,6 +36,11 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
mysql:
|
mysql:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "python -c 'import requests; requests.get(\"http://localhost:8000/\").raise_for_status()'"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 20s
|
||||||
|
retries: 10
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
my-datavolume:
|
my-datavolume:
|
Reference in New Issue
Block a user