diff --git a/registry/coder/modules/jupyterlab/main.tf b/registry/coder/modules/jupyterlab/main.tf index 1237d980d..701bcd0fa 100644 --- a/registry/coder/modules/jupyterlab/main.tf +++ b/registry/coder/modules/jupyterlab/main.tf @@ -79,4 +79,10 @@ resource "coder_app" "jupyterlab" { share = var.share order = var.order group = var.group -} + + healthcheck { + url = var.subdomain ? "http://localhost:${var.port}/api/status" : "http://localhost:${var.port}/@${data.coder_workspace_owner.me.name}/${data.coder_workspace.me.name}/apps/jupyterlab/api/status" + interval = 5 + threshold = 6 + } +} \ No newline at end of file