Skip to content

Commit d7d3789

Browse files
authored
api/fly: configure health checks (#68)
1 parent 535d3fd commit d7d3789

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

fly.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ processes = []
1414
auto_rollback = true
1515

1616
[[services]]
17-
http_checks = []
1817
internal_port = 8080
1918
processes = ["app"]
2019
protocol = "tcp"
@@ -38,3 +37,13 @@ processes = []
3837
interval = "15s"
3938
restart_limit = 0
4039
timeout = "2s"
40+
41+
[[services.http_checks]]
42+
grace_period = "2s"
43+
interval = "10s"
44+
method = "get"
45+
path = "/health"
46+
protocol = "http"
47+
restart_limit = 0
48+
timeout = "2s"
49+
tls_skip_verify = false

0 commit comments

Comments
 (0)