-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfly.toml
More file actions
38 lines (32 loc) · 780 Bytes
/
Copy pathfly.toml
File metadata and controls
38 lines (32 loc) · 780 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
# Fly.io deployment config — `fly launch --copy-config` then `fly deploy`.
# https://fly.io/docs/reference/configuration/
app = "limit-break"
primary_region = "iad"
kill_signal = "SIGTERM"
kill_timeout = "10s"
[build]
dockerfile = "Dockerfile"
[env]
LIMITBREAK_HOST = "0.0.0.0"
LIMITBREAK_PORT = "8080"
LIMITBREAK_DB_PATH = "/data/limitbreak.db"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[[http_service.checks]]
interval = "30s"
timeout = "5s"
grace_period = "10s"
method = "GET"
path = "/health"
[[mounts]]
source = "limitbreak_data"
destination = "/data"
[[vm]]
cpu_kind = "shared"
cpus = 1
memory_mb = 256