Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(service): add health check to Bugsink service (#5512)

Klaas van Schelven787a56ce51cc
diff --git a/templates/compose/bugsink.yaml b/templates/compose/bugsink.yaml
index bf015d7275..5cdca45d10 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: