-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.toml
62 lines (46 loc) · 1.08 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
# fly.toml app configuration file generated for tha-router on 2024-05-04T11:57:31-07:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "tha-router"
primary_region = "sea"
[deploy]
strategy = "rolling"
[env]
LISTEN_ADDRESS = "[::]:8000"
IDENTITY_ADDRESS = "http://tha-identity.flycast"
PORTAL_ADDRESS = "http://tha-portal.flycast"
APOLLO_TELEMETRY_DISABLED = "true"
APOLLO_TRACING_DISABLED = "true"
APOLLO_METRICS_DISABLED = "true"
OTEL_SERVICE_NAME = "api"
[http_service]
internal_port = 8000
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[http_service.http_options]
h2_backend = true
[http_service.concurrency]
type = "requests"
hard_limit = 1000
soft_limit = 750
[[http_service.checks]]
protocol = "http"
method = "GET"
path = "/health"
interval = "30s"
grace_period = "10s"
timeout = "5s"
[[files]]
guest_path = "/dist/config.yaml"
secret_name = "ROUTER_CONFIG"
[[metrics]]
port = 9090
path = "/metrics"
[[vm]]
cpus = 1
cpu_kind = "shared"
memory = "256mb"