-
Notifications
You must be signed in to change notification settings - Fork 39
/
docker-compose.yml
43 lines (43 loc) · 1.03 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
version: '3'
volumes:
avalanche-data:
avalanche-ipcs:
networks:
services:
external:
name: ortelius_services
services:
avalanche:
env_file:
- standalone.env
image: "avaplatform/avalanchego:v1.7.10"
command: /bin/sh -cx "exec /avalanchego/build/avalanchego
--config-file=/opt/config.json
--network-id=$${NETWORKID}
"
ports:
- "9650:9650"
volumes:
- avalanche-data:/var/lib/avalanche
- ./../avalanchego_config.json:/opt/config.json
- ./../avalanchego_chain_config:/opt/avalanchego
- avalanche-ipcs:/tmp
depends_on:
- indexer
restart: always
indexer: &ortelius-app
image: "avaplatform/ortelius:v1.7.10"
command: ["stream", "indexer", "-c", "/opt/config.json"]
networks:
- services
external_links:
- mysql
volumes:
- avalanche-ipcs:/tmp
- ./config.standalone.json:/opt/config.json
restart: on-failure
api:
<<: *ortelius-app
command: ["api", "-c", "/opt/config.json"]
ports:
- 8080:8080