Skip to content

Commit fd6375e

Browse files
author
SM_SAYEED
committed
health check reorganized
1 parent 5281378 commit fd6375e

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

fly.toml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,8 @@
22
#
33
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
44

5-
app = 'patterns-matter'
6-
primary_region = 'ams'
7-
8-
9-
[[http_service.checks]]
10-
method = "GET"
11-
path = "/healthz"
12-
interval = "10s"
13-
timeout = "2s"
14-
grace_period = "30s"
15-
5+
app = "patterns-matter"
6+
primary_region = "ams"
167

178
[http_service]
189
internal_port = 8080
@@ -21,12 +12,19 @@ primary_region = 'ams'
2112
auto_stop_machines = false
2213
min_machines_running = 1
2314

15+
[[http_service.checks]]
16+
method = "GET"
17+
path = "/healthz"
18+
interval = "10s"
19+
timeout = "5s"
20+
grace_period = "60s"
2421

2522
[[vm]]
26-
memory = '1gb'
27-
cpu_kind = 'shared'
23+
memory = "1gb"
24+
cpu_kind = "shared"
2825
cpus = 1
2926

3027
[[mounts]]
31-
source = "datavol"
32-
destination = "/data"
28+
source = "datavol"
29+
destination = "/data"
30+

0 commit comments

Comments
 (0)