-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.db.toml
76 lines (67 loc) · 1.45 KB
/
fly.db.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# fly.toml file generated for still-sunset-501-db on 2022-09-22T20:22:14-04:00
app = "still-sunset-501-db"
kill_signal = "SIGTERM"
kill_timeout = 300
processes = []
[checks]
[checks.pg]
grace_period = "30s"
headers = []
interval = "15s"
method = "get"
path = "/flycheck/pg"
port = 5500
protocol = "http"
restart_limit = 0
timeout = "10s"
tls_skip_verify = false
type = "http"
[checks.role]
grace_period = "30s"
headers = []
interval = "15s"
method = "get"
path = "/flycheck/role"
port = 5500
protocol = "http"
restart_limit = 0
timeout = "10s"
tls_skip_verify = false
type = "http"
[checks.vm]
grace_period = "1s"
headers = []
interval = "1m"
method = "get"
path = "/flycheck/vm"
port = 5500
protocol = "http"
restart_limit = 0
timeout = "10s"
tls_skip_verify = false
type = "http"
[env]
PRIMARY_REGION = "iad"
[experimental]
allowed_public_ports = []
auto_rollback = false
enable_consul = true
private_network = true
[metrics]
path = "/metrics"
port = 9187
[[mounts]]
destination = "/data"
encrypted = false
source = "pg_data"
[[services]]
internal_port = 5432 # Postgres instance
protocol = "tcp"
# Example of opening port 443 for secure connections
[[services.ports]]
handlers = ["tls"]
port = 443
# Example of opening port 10000 for insecure connections.
[[services.ports]]
handlers = []
port = 10000