-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (50 loc) · 1.5 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
52
services:
flare-mainnet:
restart: always
# image: flarefoundation/go-flare:v1.7.1807
pull_policy: always
image: thedavidmeister/go-flare
logging:
driver: local
environment:
- NETWORK_ID=flare
- AUTOCONFIGURE_BOOTSTRAP=1
- AUTOCONFIGURE_BOOTSTRAP_ENDPOINT=https://flare.flare.network/ext/info
volumes:
- "flare-db:/app/db"
- "flare-logs:/app/logs"
- "flare-conf:/app/conf"
ports:
# external/public port for basic HTTP is 9650 by default
# exposed locally for use by bot on same machine
- "0.0.0.0::9650"
profiles: ["flare", "flare-node"]
flare-bot:
restart: always
image: rainprotocol/arb-bot:master
pull_policy: always
logging:
driver: local
environment:
- RPC_URL=${RPC_URL:-http://flare-mainnet:9650/ext/bc/C/rpc}
- BOT_WALLET_PRIVATEKEY=${BOT_WALLET_PRIVATEKEY}
- ARB_ADDRESS=${ARB_ADDRESS}
- GENERIC_ARB_ADDRESS=${GENERIC_ARB_ADDRESS:-}
- SUBGRAPH=${SUBGRAPH}
# Default to 0 because the default is hitting a local RPC.
- SLEEP=${SLEEP:-0}
- HYPERDX_API_KEY=${HYPERDX_API_KEY:-}
- TRACER_SERVICE_NAME=${TRACER_SERVICE_NAME:-}
- MAX_RATIO=true
# transaction timeout to not get stuck on a pending tx
- TIMEOUT=600
- HOPS=${BINARY_SEARCH_HOPS:-1}
- BOT_MIN_BALANCE=${BOT_MIN_BALANCE}
profiles: ["flare", "flare-bot"]
volumes:
flare-db:
external: true
flare-logs:
external: true
flare-conf:
external: true