-
Notifications
You must be signed in to change notification settings - Fork 0
/
fly.toml
68 lines (55 loc) · 1.19 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
67
# fly.toml app configuration file generated for casbytes on 2024-04-24T00:21:48+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'casbytes'
primary_region = 'lhr'
kill_signal = "SIGINT"
kill_timeout = "5s"
[build]
dockerfile = "Dockerfile"
[mounts]
source="data"
destination="/data"
[experimental]
auto_rollback = true
enable_consul = true
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[services.ports]]
handlers = ["http"]
port = 80
force_https = true
[[services.tcp_checks]]
grace_period = "10s"
interval = "15s"
restart_limit = 6
timeout = "5s"
[[services.http_checks]]
interval = 10000
grace_period = "5s"
method = "get"
path = "/"
protocol = "http"
timeout = 5000
tls_skip_verify = false
[[services.http_checks]]
interval = 10000
grace_period = "5s"
method = "get"
path = "/healthcheck"
protocol = "http"
timeout = 5000
tls_skip_verify = false
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1