diff --git a/templates/compose/bugsink.yaml b/templates/compose/bugsink.yaml index bf015d727..5cdca45d1 100644 --- a/templates/compose/bugsink.yaml +++ b/templates/compose/bugsink.yaml @@ -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: \ No newline at end of file + my-datavolume: