-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathrender.yaml
116 lines (112 loc) · 2.88 KB
/
render.yaml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
services:
# stacks-blockchain-api instance
- name: mainnet-stacks-blockchain-api
type: pserv
env: docker
region: oregon
plan: standard
branch: master
dockerfilePath: stacks-blockchain-api.Dockerfile
dockerContext: .
autoDeploy: false
envVars:
- key: PG_HOST
fromDatabase:
name: mainnet-postgres
property: host
- key: PG_PORT
fromDatabase:
name: mainnet-postgres
property: port
- key: PG_DATABASE
fromDatabase:
name: mainnet-postgres
property: database
- key: PG_USER
fromDatabase:
name: mainnet-postgres
property: user
- key: PG_PASSWORD
fromDatabase:
name: mainnet-postgres
property: password
- key: STACKS_CORE_EVENT_HOST
value: 0.0.0.0
- key: STACKS_BLOCKCHAIN_API_HOST
value: 0.0.0.0
- key: STACKS_BLOCKCHAIN_API_DB
value: pg
- key: STACKS_CORE_RPC_HOST
fromService:
name: mainnet-stacks-blockchain
type: pserv
property: host
- key: STACKS_CORE_RPC_PORT
value: 80
- fromGroup: mainnet-settings
disk:
name: api-event-replay
mountPath: /root/stacks-blockchain/data
sizeGB: 25
# stacks-blockchain instance
- name: mainnet-stacks-blockchain
type: pserv
env: docker
region: oregon
plan: standard
branch: master
dockerfilePath: stacks-blockchain.Dockerfile
dockerContext: .
autoDeploy: false
envVars:
- key: STACKS_BLOCKCHAIN_API_HOST
fromService:
name: mainnet-stacks-blockchain-api
type: pserv
property: host
- fromGroup: mainnet-settings
disk:
name: mainnet-stacks-blockchain
mountPath: /root/stacks-blockchain/data
sizeGB: 50
# nginx proxy instance
- name: mainnet-nginx
type: web
env: docker
region: oregon
plan: standard
branch: master
dockerfilePath: nginx.Dockerfile
dockerContext: .
healthCheckPath: /status
autoDeploy: true
envVars:
- key: STACKS_BLOCKCHAIN_API_HOST
fromService:
name: mainnet-stacks-blockchain-api
type: pserv
property: host
- fromGroup: mainnet-settings
# Managed Postgres instance
databases:
- name: mainnet-postgres
plan: Standard Plus
envVarGroups:
- name: mainnet-settings
envVars:
- key: NODE_ENV
value: production
- key: GIT_TAG
value: master
- key: STACKS_CHAIN_ID
value: 0x00000001
- key: V2_POX_MIN_AMOUNT_USTX
value: 90000000260
- key: STACKS_NETWORK
value: mainnet
- key: STACKS_EXPORT_EVENTS_FILE
value: /root/stacks-blockchain/stacks-node-events.tsv
- key: STACKS_CORE_EVENT_PORT
value: 3700
- key: STACKS_BLOCKCHAIN_API_PORT
value: 3999