-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
37 lines (31 loc) · 859 Bytes
/
Copy pathfly.toml
File metadata and controls
37 lines (31 loc) · 859 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
# Fly config for the gulltoppr engine. Co-located in cdg with heimdall-api
# (heimdall-api) to minimize ladder rung-4 latency.
app = "gulltoppr"
primary_region = "cdg"
[build]
[env]
PORT = "8080"
HEIMDALL_API_URL = "https://heimdall-api.fly.dev"
SIGNING_BASE_URL = "https://abi.ninja"
# Persistent result cache: SQLite (node:sqlite) on the mounted volume.
NODE_OPTIONS = "--experimental-sqlite"
CACHE_DB_PATH = "/data/cache.db"
[[mounts]]
source = "gulltoppr_cache"
destination = "/data"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
timeout = "5s"
path = "/health"
[[vm]]
size = "shared-cpu-1x"
memory = "512mb"