File tree Expand file tree Collapse file tree 4 files changed +92
-0
lines changed
services/bots/mainnet-neo Expand file tree Collapse file tree 4 files changed +92
-0
lines changed Original file line number Diff line number Diff line change 1+ DEPLOYMENT = mainnet-neo
2+ COMPOSE_PROJECT_NAME = bots-$DEPLOYMENT
Original file line number Diff line number Diff line change 1+ # Bot account
2+ PRIVATE_KEY=0x000000.....00000
3+
4+ # Bot subgraph
5+ SUBGRAPH_URL=https://api.thegraph.com/subgraphs/name/alcercu/kleroscoretest
6+
7+ # Logging
8+ LOG_LEVEL=debug
9+ LOGTAIL_TOKEN_KEEPER_BOT=<optional token>
10+ LOGTAIL_TOKEN_RELAYER_BOT=<optional token>
11+ LOGTAIL_TOKEN_DISPUTOR_BOT=<optional token>
12+
13+ # Heartbeat
14+ HEARTBEAT_URL_KEEPER_BOT=<optional url>
15+ HEARTBEAT_URL_RELAYER_BOT=<optional url>
16+ HEARTBEAT_URL_DISPUTOR_BOT=<optional url>
17+
18+ DISPUTES_TO_SKIP=
Original file line number Diff line number Diff line change 1+ version : ' 3'
2+ services :
3+ keeper-bot :
4+ container_name : keeper-bot-${DEPLOYMENT:?error}
5+ extends :
6+ file : ../base/bot-pm2.yml
7+ service : bot-pm2
8+ volumes :
9+ - type : bind
10+ source : ./pm2.config.keeper-bot.${DEPLOYMENT}.js
11+ target : /usr/src/app/contracts/ecosystem.config.js
12+
13+ disputor-bot :
14+ container_name : disputor-bot-${DEPLOYMENT:?error}
15+ extends :
16+ file : ../base/bot-pm2.yml
17+ service : bot-pm2
18+ volumes :
19+ - type : bind
20+ source : ./pm2.config.disputor-bot.${DEPLOYMENT}.js
21+ target : /usr/src/app/contracts/ecosystem.config.js
22+
23+ relayer-bot-from-chiado :
24+ container_name : relayer-bot-from-chiado-${DEPLOYMENT:?error}
25+ extends :
26+ file : ../base/bot-pm2.yml
27+ service : bot-pm2
28+ volumes :
29+ - type : bind
30+ source : ./pm2.config.relayer-bot-from-chiado.${DEPLOYMENT}.js
31+ target : /usr/src/app/contracts/ecosystem.config.js
32+ profiles :
33+ - chiado
34+
35+ relayer-bot-from-sepolia :
36+ container_name : relayer-bot-from-sepolia-${DEPLOYMENT:?error}
37+ extends :
38+ file : ../base/bot-pm2.yml
39+ service : bot-pm2
40+ volumes :
41+ - type : bind
42+ source : ./pm2.config.relayer-bot-from-sepolia.${DEPLOYMENT}.js
43+ target : /usr/src/app/contracts/ecosystem.config.js
44+ profiles :
45+ - sepolia
46+
47+ relayer-bot-from-hardhat-host :
48+ container_name : relayer-bot-from-hardhat-host-${DEPLOYMENT:?error}
49+ extends :
50+ file : ../base/bot.yml
51+ service : bot
52+ command : bot:relayer-from-hardhat --network dockerhost
53+ extra_hosts :
54+ - host.docker.internal:host-gateway
55+ volumes :
56+ - type : bind
57+ source : ../../contracts/deployments/localhost
58+ target : /usr/src/app/contracts/deployments/localhost
59+ profiles :
60+ - hardhat
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ apps : [
3+ {
4+ name : "keeper-bot-mainnet-neo" ,
5+ interpreter : "sh" ,
6+ script : "yarn" ,
7+ args : "bot:keeper --network arbitrum" ,
8+ restart_delay : 600000 , // 10 minutes
9+ autorestart : true ,
10+ } ,
11+ ] ,
12+ } ;
You can’t perform that action at this time.
0 commit comments