-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml.example
50 lines (48 loc) · 1.14 KB
/
docker-compose.yml.example
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
version: "2.2"
services:
golos:
image: golos-0.17.0-lowmem:latest
#environment:
# STEEMD_EXTRA_OPTS: --replay
ports:
- "2001:2001"
- "8090:8090"
- "8091:8091"
volumes:
- "/dev/shm:/shm"
- "/srv/golos:/var/lib/golosd"
- "./config.ini:/etc/golosd/config.ini"
pricefeed:
environment:
NODE: ws://golos:8091
WITNESS: foo
KEY: PRIVATE-ACTIVE-KEY
SOURCE: graphene
NODE_GPH: "\n
- wss://node.gph.ai\n
- wss://node.hk.graphene.fans\n
"
MARKETS: "\n
- RUDEX.GOLOS/GPH\n
- RUDEX.GOLOS/RUDEX.BTC\n
- RUDEX.GOLOS/RUDEX.USDT"
METRIC: weighted_average
K: 1
DEPTH_PCT: 20
THRESHOLD_PCT: 15
image: vvk123/golos-witness-tools
depends_on:
- golos
command: ./update_price_feed.py --monitor
monitor:
environment:
NODE: ws://golos:8091
WITNESS: foo
KEY: PRIVATE-ACTIVE-KEY
WITNESS_PUBKEY: SIGNING-KEY-FOR-THIS-NODE
MISS_WINDOW: 3600
ALLOWED_MISSES: 1
image: vvk123/golos-witness-tools
command: ./witness_monitor.py
depends_on:
- golos