-
Notifications
You must be signed in to change notification settings - Fork 220
Expand file tree
/
Copy pathdemo-router.fly.toml
More file actions
46 lines (38 loc) · 992 Bytes
/
demo-router.fly.toml
File metadata and controls
46 lines (38 loc) · 992 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
# fly.toml app configuration file generated for demo-router on 2023-12-18T10:58:31+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "demo-router"
primary_region = "lax"
[env]
PROMETHEUS_LISTEN_ADDR="0.0.0.0:8088"
LISTEN_ADDR="0.0.0.0:3002"
LOG_LEVEL="info"
CORS_ALLOW_CREDENTIALS="true"
CLUSTER_NAME="fly-lax"
CACHE_WARMUP_ENABLED="true"
PLUGINS_ENABLED="true"
# ENGINE_DEBUG_REPORT_WEBSOCKET_CONNECTIONS="true"
[[vm]]
size = "shared-cpu-1x"
memory = "256mb"
[build]
dockerfile = "./router/Dockerfile"
[http_service]
internal_port = 3002
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[deploy]
strategy = "rolling"
max_unavailable = 1
# scraped every 15 seconds
[metrics]
port = 8088
path = "/metrics" # default for most prometheus exporters
[services]
internal_port = 3002
auto_stop_machines = false
auto_start_machines = false