docs: add health checks to docs & examples (#4223)

This commit is contained in:
Ben Potter
2022-09-27 13:58:39 -04:00
committed by GitHub
parent 27c8345ef2
commit 21e6bea792
10 changed files with 92 additions and 13 deletions

View File

@ -65,6 +65,12 @@ resource "coder_app" "code-server" {
icon = "/icon/code.svg"
url = "http://localhost:13337?folder=/home/coder"
relative_path = true
healthcheck {
url = "http://localhost:1337/healthz"
interval = 3
threshold = 10
}
}
resource "google_compute_instance" "dev" {