-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtracker.toml
More file actions
49 lines (40 loc) · 869 Bytes
/
Copy pathtracker.toml
File metadata and controls
49 lines (40 loc) · 869 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
43
44
45
46
47
48
49
# fly.toml app for tracker
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "$FLY_APP"
primary_region = "$REGION"
[build]
image = "owlcms/tracker:$VERSION"
[http_service]
internal_port = 8096
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[services.concurrency]
type = "requests"
hard_limit = 50
soft_limit = 40
[http_service.concurrency]
type = "requests"
hard_limit = 50
soft_limit = 40
[[services.ports]]
handlers = ["http"]
port = 80
force_https = true # optional
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[[vm]]
cpu_kind = "shared"
cpus = 2
memory_mb = 1024
[[http_service.checks]]
grace_period = "30s"
interval = "30s"
method = "GET"
path = "/"
timeout = "10s"