-
Notifications
You must be signed in to change notification settings - Fork 25
/
fly.staging.toml
66 lines (55 loc) · 1.41 KB
/
fly.staging.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
63
64
65
66
# fly.toml app configuration file generated for indexer-v2-staging on 2024-05-21T18:42:41+05:30
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'indexer-v2-staging'
primary_region = 'den'
kill_signal = 'SIGINT'
kill_timeout = '5s'
[experimental]
auto_rollback = true
[build]
[deploy]
wait_timeout = '6h0m0s'
[env]
DEPLOYMENT_ENVIRONMENT = 'production'
ENABLE_RESOURCE_MONITOR = 'false'
ESTIMATES_LINEARQF_WORKER_POOL_SIZE = '10'
INDEXED_CHAINS = 'sepolia'
LOG_LEVEL = 'debug'
NODE_OPTIONS = '--max-old-space-size=4096'
PASSPORT_SCORER_ID = '335'
PINO_PRETTY = 'true'
PORT = '8080'
STORAGE_DIR = '/mnt/indexer'
[processes]
indexer = 'npm start -- --indexer --http'
web = 'npm start -- --http --http-wait-for-sync=false'
[[mounts]]
source = 'indexer_staging'
destination = '/mnt/indexer'
initial_size = '50gb'
processes = ['indexer', 'web']
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 2
processes = ['web']
[http_service.concurrency]
type = 'requests'
hard_limit = 250
soft_limit = 200
[checks]
[checks.http]
port = 8080
type = 'http'
interval = '15s'
timeout = '10s'
grace_period = '30s'
method = 'get'
path = '/api/v1/status'
processes = ['web', 'indexer']
[[vm]]
size = 'performance-2x'