mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
docs: add health checks to docs & examples (#4223)
This commit is contained in:
@ -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" {
|
||||
|
Reference in New Issue
Block a user