-
Notifications
You must be signed in to change notification settings - Fork 10
/
process-compose.yaml
172 lines (156 loc) · 6.42 KB
/
process-compose.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
processes:
downloadZkAndDatFiles:
description: download .zk and .dat files and verify their checksum
working_dir: ./relay/process-compose-scripts/
command: ./download-zk-and-dat-files.sh
redis:
description: redis
log_location: ./logs/redis.log
working_dir: ./relay/process-compose-scripts/
command: ./start-redis.sh
depends_on:
downloadZkAndDatFiles:
condition: process_completed
availability:
restart: always
proverserver:
description: proverserver
environment:
- 'HOST = ${PROVER_SERVER_HOST}'
log_location: ./logs/prover_server.log
working_dir: ./
command: proverServer ${PROVER_SERVER_PORT} data/light_client.zkey
depends_on:
downloadZkAndDatFiles:
condition: process_completed
availability:
restart: always
readiness_probe:
http_get:
host: $HOST
scheme: http
path: '/status'
port: ${PROVER_SERVER_PORT}
initial_delay_seconds: 10
period_seconds: 10
success_threshold: 1
timeout_seconds: 1
failure_threshold: 120
prometheus:
description: prometheus
log_location: ./logs/prometheus.log
command: ./start-prometheus.sh
working_dir: ./relay/process-compose-scripts/
depends_on:
downloadZkAndDatFiles:
condition: process_completed
availability:
restart: always
pollUpdatesWorker:
description: pollUpdatesWorker
log_location: ./logs/pollUpdatesWorker.log
command: yarn run pollUpdatesWorker
working_dir: ./relay
depends_on:
prometheus:
condition: process_started
availability:
restart: always
proofGenerationWorker:
description: proofGenerationWorker
log_location: ./logs/proofGenerationWorker.log
command: yarn run proofGenerationWorker --prover ${PROVER_SERVER_HOST}:${PROVER_SERVER_PORT}
working_dir: ./relay
depends_on:
pollUpdatesWorker:
condition: process_started
availability:
restart: always
cleaner:
description: cleaner
log_location: ./logs/cleaner.log
command: yarn ts ./workers/cleaner.ts
working_dir: ./relay/workers
depends_on:
downloadZkAndDatFiles:
condition: process_completed
sepolia:
description: Start generating proofs for the contract on ${LC_SEPOLIA} and update it with them
log_location: ./logs/sepolia.log
command: yarn hardhat start-publishing --light-client ${LC_SEPOLIA} --network sepolia --follow-network ${FOLLOW_NETWORK_SEPOLIA} --slots-jump ${SLOTS_JUMP} --hashi ${SEPOLIA_HASHI} --prometheus-port 3004
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
fantom:
description: Start generating proofs for the contract on ${LC_FANTOM} and update it with them
log_location: ./logs/fantom.log
command: yarn hardhat start-publishing --light-client ${LC_FANTOM} --network fantom --follow-network ${FOLLOW_NETWORK_FANTOM} --slots-jump ${SLOTS_JUMP} --prometheus-port 3007
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
alfajores:
description: Start generating proofs for the contract on ${LC_ALFAJORES} and update it with them
log_location: ./logs/alfajores.log
command: yarn hardhat start-publishing --light-client ${LC_ALFAJORES} --network celo --follow-network ${FOLLOW_NETWORK_CELO} --slots-jump ${SLOTS_JUMP} --prometheus-port 3008
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
bsc:
description: Start generating proofs for the contract on ${LC_BSC} and update it with them
log_location: ./logs/bsc.log
command: yarn hardhat start-publishing --light-client ${LC_BSC} --network bsc --follow-network ${FOLLOW_NETWORK_BSC} --slots-jump ${SLOTS_JUMP} --prometheus-port 3009
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
chiado:
description: Start generating proofs for the contract on ${LC_CHIADO} and update it with them
log_location: ./logs/chiado.log
command: yarn hardhat start-publishing --light-client ${LC_CHIADO} --network chiado --follow-network ${FOLLOW_NETWORK_CHIADO} --slots-jump ${SLOTS_JUMP} --hashi ${CHIADO_HASHI} --prometheus-port 3010
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
aurora:
description: Start generating proofs for the contract on ${LC_AURORA} and update it with them
log_location: ./logs/aurora.log
command: yarn hardhat start-publishing --light-client ${LC_AURORA} --network aurora --follow-network ${FOLLOW_NETWORK_AURORA} --slots-jump ${SLOTS_JUMP} --prometheus-port 3013
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
gnosis:
description: Start generating proofs for the contract on ${LC_GNOSIS} and update it with them
log_location: ./logs/gnosis.log
command: yarn hardhat start-publishing --light-client ${LC_GNOSIS} --network gnosis --follow-network ${FOLLOW_NETWORK_GNOSIS} --slots-jump ${SLOTS_JUMP} --prometheus-port 3014
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
lukso:
description: Start generating proofs for the contract on ${LC_LUKSO} and update it with them
log_location: ./logs/lukso.log
command: yarn hardhat start-publishing --light-client ${LC_LUKSO} --network lukso --follow-network ${FOLLOW_NETWORK_LUKSO} --slots-jump ${SLOTS_JUMP} --hashi ${LUKSO_HASHI} --prometheus-port 3015
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
mainnet:
description: Start generating proofs for the contract on ${LC_MAINNET} and update it with them
log_location: ./logs/mainnet.log
command: yarn hardhat start-publishing --light-client ${LC_MAINNET} --network mainnet --follow-network ${FOLLOW_NETWORK_MAINNET} --slots-jump ${SLOTS_JUMP} --hashi ${MAINNET_HASHI} --prometheus-port 3015
working_dir: ./beacon-light-client/solidity
depends_on:
proverserver:
condition: process_healthy
general_logs:
description: general_logs
log_location: ./logs/general_logs.log
command: yarn ts relayer_logger.ts
working_dir: ./relay
depends_on:
proverserver:
condition: process_healthy