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.

healthcheck

yokowasis@host2ff3fa1fe0ae8
diff --git a/templates/compose/jupyterlab.yaml b/templates/compose/jupyterlab.yaml
index 360067919d..1795dda358 100644
--- a/templates/compose/jupyterlab.yaml
+++ b/templates/compose/jupyterlab.yaml
@@ -19,3 +19,15 @@ services:
- PIP_PACKAGES=${PIP_PACKAGES:-sastrawi}
volumes:
- jupyterlab_data:/home/mambauser/data
+ healthcheck:
+ test:
+ [
+ "CMD",
+ "curl",
+ "-f",
+ "http://127.0.0.1:8008/login/",
+ ]
+ timeout: 5s
+ interval: 5s
+ retries: 3
+
\ No newline at end of file