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

This commit is contained in:
Ben Potter
2022-09-27 12:58:39 -05:00
committed by GitHub
parent 27c8345ef2
commit 21e6bea792
10 changed files with 92 additions and 13 deletions
@@ -41,6 +41,12 @@ resource "coder_app" "code-server" {
agent_id = coder_agent.main.id
url = "http://localhost:8080/?folder=/home/coder"
icon = "/icon/code.svg"
healthcheck {
url = "http://localhost:8080/healthz"
interval = 3
threshold = 10
}
}
resource "docker_volume" "home_volume" {