File tree Expand file tree Collapse file tree 8 files changed +43
-17
lines changed Expand file tree Collapse file tree 8 files changed +43
-17
lines changed Original file line number Diff line number Diff line change
1
+ .yarn /cache
2
+ .yarn /install-state.gz
3
+
4
+ contracts /.env
5
+ contracts /test
6
+ contracts /lib
7
+ contracts /cache
8
+ contracts /cache_hardhat
9
+ contracts /config
10
+ contracts /tenderly.yaml
11
+
12
+ * /.DS_Store
13
+ * /* .log
Load Diff This file was deleted.
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=<optional token>
10
+
11
+ # Heartbeat
12
+ HEARTBEAT_URL_KEEPER_BOT=<optional url>
Original file line number Diff line number Diff line change
1
+ .env.testnet
2
+ .env.mainnet
Original file line number Diff line number Diff line change 1
- FROM --platform=arm64 node:16-bookworm
1
+ FROM node:16-alpine
2
2
3
3
WORKDIR /usr/src/app
4
4
@@ -22,3 +22,8 @@ RUN yarn set version 3.3.1 && \
22
22
USER node
23
23
WORKDIR /usr/src/app/contracts
24
24
ENTRYPOINT [ "yarn" ]
25
+
26
+ LABEL org.opencontainers.image.source=https://github.com/kleros/kleros-v2
27
+ LABEL org.opencontainers.image.title="Kleros v2 Bots"
28
+ LABEL org.opencontainers.image.description="Bots for the Kleros v2 arbitration protocol."
29
+ LABEL org.opencontainers.image.licenses=MIT
Original file line number Diff line number Diff line change @@ -4,5 +4,8 @@ services:
4
4
build :
5
5
context : ../../
6
6
dockerfile : ./services/bots/Dockerfile
7
- image : kleros-v2-bots
7
+ tags :
8
+ - kleros-v2-bots
9
+ image : ghcr.io/kleros/kleros-v2-bots
10
+ pull_policy : missing
8
11
command : --help
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ services:
7
7
# command: bot:keeper --network arbitrumGoerli
8
8
entrypoint :
9
9
[
10
- " /bin/bash " ,
10
+ " /bin/sh " ,
11
11
" -c" ,
12
12
" pm2-runtime ecosystem.config.js --only keeper-bot-testnet --no-auto-exit"
13
13
]
14
14
# entrypoint:
15
15
# [
16
- # "/bin/bash ",
16
+ # "/bin/sh ",
17
17
# "-c",
18
18
# "pm2-runtime ecosystem.config.js --only foo --no-auto-exit"
19
19
# ]
@@ -30,7 +30,7 @@ services:
30
30
# command: bot:relayer-from-chiado --network arbitrumGoerli
31
31
entrypoint :
32
32
[
33
- " /bin/bash " ,
33
+ " /bin/sh " ,
34
34
" -c" ,
35
35
" pm2-runtime ecosystem.config.js --only relayer-bot-from-chiado-testnet --no-auto-exit"
36
36
]
Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ module.exports = {
2
2
apps : [
3
3
{
4
4
name : "foo" ,
5
- interpreter : "bash " ,
5
+ interpreter : "sh " ,
6
6
script : "yarn" ,
7
7
args : "foo" ,
8
8
restart_delay : 3000 ,
9
9
autorestart : true ,
10
10
} ,
11
11
{
12
12
name : "keeper-bot-testnet" ,
13
- interpreter : "bash " ,
13
+ interpreter : "sh " ,
14
14
script : "yarn" ,
15
15
args : "bot:keeper --network arbitrumGoerli" ,
16
16
restart_delay : 600000 ,
17
17
autorestart : true ,
18
18
} ,
19
19
{
20
20
name : "relayer-bot-from-chiado-testnet" ,
21
- interpreter : "bash " ,
21
+ interpreter : "sh " ,
22
22
script : "yarn" ,
23
23
args : "bot:relayer-from-chiado --network arbitrumGoerli" ,
24
24
restart_delay : 2000 ,
You can’t perform that action at this time.
0 commit comments