fix(service): add health check to Bugsink service (#5512)
This commit is contained in:
parent
78ce16d50d
commit
787a56ce51
1 changed files with 6 additions and 1 deletions
|
|
@ -36,6 +36,11 @@ services:
|
|||
depends_on:
|
||||
mysql:
|
||||
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:
|
||||
my-datavolume:
|
||||
my-datavolume:
|
||||
|
|
|
|||
Loading…
Reference in a new issue