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