-
Notifications
You must be signed in to change notification settings - Fork 39
/
docker-compose.yml
48 lines (48 loc) · 1.11 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
version: '3'
volumes:
avalanche-data:
avalanche-ipcs:
networks:
services:
external:
name: ortelius_services
services:
avalanche:
image: "avaplatform/avalanchego:v1.0.0"
command: [
"./build/avalanchego",
"-network-id=5",
"-db-dir=/var/lib/avalanche",
"-log-level=info",
"-http-host=0.0.0.0",
"-ipcs-chain-ids=11111111111111111111111111111111LpoYY,2vrXWHgGxh5n3YsLHMV16YVVJTpT4z45Fmb4y3bL6si8kLCyg9",
]
ports:
- "9650:9650"
volumes:
- avalanche-data:/var/lib/avalanche
- avalanche-ipcs:/tmp
depends_on:
- producer
restart: always
producer: &ortelius-app
image: "avaplatform/ortelius:516bb13"
command: ["stream", "producer", "-c", "/opt/config.json"]
networks:
- services
external_links:
- zookeeper
- kafka
- mysql
- redis
volumes:
- avalanche-ipcs:/tmp
restart: on-failure
indexer:
<<: *ortelius-app
command: ["stream", "indexer", "-c", "/opt/config.json"]
api:
<<: *ortelius-app
command: ["api", "-c", "/opt/config.json"]
ports:
- 8080:8080