forked from SO4-Markets/so4-oracle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly.toml
More file actions
50 lines (43 loc) · 1.11 KB
/
Copy pathfly.toml
File metadata and controls
50 lines (43 loc) · 1.11 KB
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
app = 'so4-oracle'
primary_region = 'iad'
[build]
dockerfile = 'Dockerfile'
[env]
PORT = '8080'
BIND_ADDR = '0.0.0.0:8080'
# REQUIRED: override these for your target network before deploying.
# Testnet: STELLAR_NETWORK=testnet NETWORK_PASSPHRASE='Test SDF Network ; September 2015'
# Mainnet: STELLAR_NETWORK=mainnet NETWORK_PASSPHRASE='Public Global Stellar Network ; September 2015'
STELLAR_NETWORK = 'YOUR_STELLAR_NETWORK'
NETWORK_PASSPHRASE = 'YOUR_NETWORK_PASSPHRASE'
PRICE_LOOP_MS = '1000'
KEEPER_LOOP_MS = '1500'
MIN_KEEPER_BALANCE_XLM = '10'
KEEPER_INDEX = '0'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 1
[http_service.concurrency]
type = 'connections'
hard_limit = 250
soft_limit = 200
[[vm]]
cpu_kind = 'shared'
cpus = 1
memory_mb = 256
[checks]
[checks.health]
port = 8080
type = 'http'
interval = '30s'
timeout = '3s'
path = '/health'
[checks.ready]
port = 8080
type = 'http'
interval = '10s'
timeout = '3s'
path = '/ready'