-
Notifications
You must be signed in to change notification settings - Fork 1
/
fly.toml
49 lines (41 loc) · 1.02 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
# fly.toml file generated for movie-justwatch on 2023-03-18T15:33:45-03:00
app = "movie-justwatch"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[env]
PORT = "8080"
[experimental]
auto_rollback = true
[[services]]
internal_port = 8080
processes = ["app"]
protocol = "tcp"
script_checks = []
[services.concurrency]
hard_limit = 100
soft_limit = 75
type = "connections"
# upstash redis no longer available
# [[services.http_checks]]
# grace_period = "1s"
# interval = 60000 # 1min
# method = "get"
# path = "/redis-healthcheck"
# protocol = "http"
# restart_limit = 0
# timeout = 2000
# tls_skip_verify = false
# [services.http_checks.headers]
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.tcp_checks]]
grace_period = "1s"
interval = "15s"
restart_limit = 10 # after 10 consecutive failures, the vm will be restarted
timeout = "2s"