forked from waves-enterprise/we-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (63 loc) · 1.51 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
53
54
55
56
57
58
59
60
61
62
63
version: '3'
services:
node-0:
image: wavesenterprise/node:v1.13.0
ports:
- "6862:6862"
- "6864:6864"
- "6865:6865"
networks:
- we-network
hostname: node-0
container_name: node-0
env_file:
- ./env/node-0.env
volumes:
- ./configs/nodes/node-0/node.conf:/node/node.conf
- ./configs/nodes/node-0/keystore.dat:/node/keystore.dat
- node-0-data:/node/data
- /var/run/docker.sock:/var/run/docker.sock
restart: always
node-1:
image: wavesenterprise/node:v1.13.0
ports:
- "6872:6862"
- "6874:6864"
- "6875:6865"
networks:
- we-network
hostname: node-1
container_name: node-1
env_file:
- ./env/node-1.env
volumes:
- ./configs/nodes/node-1/node.conf:/node/node.conf
- ./configs/nodes/node-1/keystore.dat:/node/keystore.dat
- node-1-data:/node/data
- /var/run/docker.sock:/var/run/docker.sock
restart: always
node-2:
image: wavesenterprise/node:v1.13.0
ports:
- "6882:6862"
- "6884:6864"
- "6885:6865"
networks:
- we-network
hostname: node-2
container_name: node-2
env_file:
- ./env/node-2.env
volumes:
- ./configs/nodes/node-2/node.conf:/node/node.conf
- ./configs/nodes/node-2/keystore.dat:/node/keystore.dat
- node-2-data:/node/data
- /var/run/docker.sock:/var/run/docker.sock
restart: always
networks:
we-network:
driver: bridge
volumes:
node-0-data:
node-1-data:
node-2-data: