forked from fly-apps/postgres-ha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.toml
53 lines (44 loc) · 925 Bytes
/
fly.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
app = "bike-brigade-db-staging"
# stop accepting new connections while existing sessions complete
kill_signal = "SIGTERM"
kill_timeout = 300
services = []
[checks]
[checks.pg]
grace_period = "30s"
interval = "15s"
method = "get"
path = "/flycheck/pg"
port = 5500
timeout = "10s"
type = "http"
[checks.role]
grace_period = "30s"
interval = "15s"
method = "get"
path = "/flycheck/role"
port = 5500
timeout = "10s"
type = "http"
[checks.vm]
grace_period = "1s"
interval = "1m"
method = "get"
path = "/flycheck/vm"
port = 5500
timeout = "10s"
type = "http"
[env]
BACKEND_STORE = "consul"
PRIMARY_REGION = "ewr"
[experimental]
allowed_public_ports = []
auto_rollback = false
enable_consul = true
private_network = true
[metrics]
path = "/metrics"
port = 9187
[[mounts]]
destination = "/data"
source = "pg_data"