-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·70 lines (67 loc) · 1.52 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
64
65
66
67
68
69
version: '3'
services:
leanbase:
container_name: leanbase
build:
context: ./DockerFiles/base
dockerfile: Dockerfile
image: img_leanbase
ethstat:
depends_on:
- leanbase
container_name: Ethstat
build:
context: ./DockerFiles/ethstat
dockerfile: Dockerfile
image: img_ethstat
#networks:
# you may set custom IP addresses
# EthereumNet2:
# ipv4_address: "172.18.0.22"
ports:
- "172.18.0.1:3000:3000"
- "127.0.0.1:3000:3000" #EthStat
- "127.0.0.1:8080:8080" #Remix
tty: true
stdin_open: true
pow:
container_name: pow
depends_on:
- leanbase
build:
context: ./DockerFiles/PoW
dockerfile: Dockerfile
image: img_pow
node1:
container_name: Node1
depends_on:
- pow
build:
context: ./DockerFiles/PoW/Node1
dockerfile: Dockerfile
image: img_node1
ports:
- "127.0.0.1:8545:8545"
- "172.18.0.1:8545:8545" #rpcPort
- "172.18.0.1:8546:8546" #webSocket-Port
- "172.18.0.1:30403:30403" #DiscoveryPort
volumes:
- /share1:/home/root/ethereum/share2
tty: true
stdin_open: true
node2:
container_name: Node2
depends_on:
- pow
build:
context: ./DockerFiles/PoW/Node2
dockerfile: Dockerfile
image: img_node2
ports:
- "172.18.0.1:8555:8555"
- "172.18.0.1:8556:8556"
- "172.18.0.1:30503:30503" #DiscoveryPort
volumes:
- /share1:/home/root/ethereum/share2
tty: true
stdin_open: true