-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.toml
66 lines (53 loc) · 1.17 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
app = 'shachilog'
primary_region = 'nrt'
kill_signal = "SIGINT"
kill_timeout = 5
# processes = [ ]
swap_size_mb = 512
[experimental]
allowed_public_ports = [ ]
auto_rollback = true
enable_consul = true
# [build]
[[mounts]]
source = 'data'
destination = '/data'
[[services]]
internal_port = 8080
processes = ['app']
protocol = "tcp"
script_checks = [ ]
# force_https = true
# auto_stop_machines = true
# auto_start_machines = true
# min_machines_running = 0
[services.concurrency]
hard_limit = 100
soft_limit = 80
type = "requests"
[[services.ports]]
handlers = [ "http" ]
port = 80
force_https = true
[[services.ports]]
handlers = [ "tls", "http" ]
port = 443
[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "10s"
restart_limit = 6
# [[services.http_checks]]
# interval = "10s"
# timeout = "5s"
# grace_period = "1m0s"
# restart_limit = 0
# method = "get"
# path = "/api/healthcheck"
# protocol = "http"
[[services.http_checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
timeout = "5s"
path = "/litefs/health"