forked from makerdao/auction-keeper
-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
51 lines (49 loc) · 1.65 KB
/
docker-compose.yml
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
version: "3.2"
services:
english_collateral_auction:
build: .
image: reflexer/auction-keeper
env_file:
- .env
volumes:
- $PWD/keystore:/home/keeper/keystore
- $PWD/models:/home/keeper/models
command: >
bash -c "./auction-keeper \
--type collateral \
--collateral-type ETH-A \
--rpc-uri=$${RPC_URI} \
--eth-from=$${ETH_FROM} \
--eth-key='key_file=/home/keeper/keystore/auction.json,pass_file=/home/keeper/keystore/auction.pass' \
--from-block 11000000 \
--safe-engine-system-coin-target 'ALL' \
--block-check-interval 5 \
--graph-endpoints https://subgraph.reflexer.finance/subgraphs/name/reflexer-labs/rai \
--model '/home/keeper/model/collateral_model.sh'"
surplus_auction:
image: reflexer/auction-keeper
env_file:
- .env
volumes:
- $PWD/keystore:/home/keeper/keystore
- $PWD/models:/home/keeper/models
command: >
bash -c "./auction-keeper \
--type surplus \
--rpc-host=$${RPC_URI} \
--eth-from=$${ETH_FROM} \
--eth-key='key_file=/home/keeper/keystore/auction.json,pass_file=/home/keeper/keystore/auction.pass' \
--model '/home/keeper/models/surplus_model.sh'"
debt_auction:
image: reflexer/auction-keeper
env_file:
- .env
volumes:
- $PWD/keystore:/home/keeper/keystore
- $PWD/models:/home/keeper/models
command: >
bash -c "./auction-keeper \
--rpc-uri=$${RPC_URI} \
--eth-from=$${ETH_FROM} \
--eth-key='key_file=/home/keeper/keystore/auction.json,pass_file=/home/keeper/keystore/auction.pass' \
--model '/home/keeper/models/debt_model.sh'"