-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathfly.toml
More file actions
42 lines (34 loc) · 926 Bytes
/
fly.toml
File metadata and controls
42 lines (34 loc) · 926 Bytes
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
# fly.toml file generated for dots on 2022-12-06T20:50:37+06:00
app = "dots"
kill_signal = "SIGINT"
kill_timeout = "5s"
primary_region = "sin"
[env]
PORT = "8080"
GEOIP_DB = "GeoLite2-Country.mmdb"
NAMESERVERS = "8.8.8.8,8.8.4.4,1.1.1.1,1.0.0.1,9.9.9.10,149.112.112.10"
MAPBOX_TOKEN = "pk.eyJ1IjoiZnVycWFuc29mdHdhcmUiLCJhIjoiY21naXpmaWd5MGMxajJyc2gxZjF4NzhtbyJ9.WDuI4_L5CiqgOgNBQjtPpw"
[experimental]
auto_rollback = true
[[services]]
internal_port = 8080
processes = [ "app" ]
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = [ "http" ]
port = 80
[[services.ports]]
handlers = [ "tls", "http" ]
port = 443
[[services.http_checks]]
grace_period = "5s"
interval = "15s"
method = "get"
path = "/healthz"
protocol = "http"
timeout = "2s"