This repository has been archived by the owner on Mar 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
73 lines (65 loc) · 2.18 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
70
71
72
73
version: "3"
services:
bootnode:
image: eth-pri:1.0
container_name: eth-boot
command: bootnode -verbosity 6 -nodekeyhex "aa4ee3299a38fc203c29fd81bba6f5cbbb302b80ea21e040d378dd79f926c7fd" -addr "172.24.0.3:30301"
ports:
- 30301:30301/udp
networks:
private:
ipv4_address: 172.24.0.3
sealer:
image: eth-pri:1.0
container_name: eth-sealer
depends_on:
- bootnode
command: geth --networkid 337 --datadir "/root/edu" --rpc --rpcaddr 0.0.0.0 --rpccorsdomain "*" --bootnodes enode://0c053daa5342e35ccb43de391746a318d13ebddb45fdf162faf2e008248af1d39f36c16906ccc725037d2da9814af7bed1ecd998a45d4c7e078bf7178f22f5d4@172.24.0.3:30301 --unlock "0xa7e559e09acd301a75990e6b2942187ee660b2d3" --password "/root/pass" --mine --minerthreads=1
ports:
- 8546:8545
networks:
private:
ipv4_address: 172.24.0.4
normalnode1:
image: eth-pri:1.0
container_name: eth-node1
depends_on:
- bootnode
command: geth --networkid 337 --datadir "/root/edu" --rpc --rpcaddr 0.0.0.0 --rpccorsdomain "*" --bootnodes enode://0c053daa5342e35ccb43de391746a318d13ebddb45fdf162faf2e008248af1d39f36c16906ccc725037d2da9814af7bed1ecd998a45d4c7e078bf7178f22f5d4@172.24.0.3:30301
ports:
- 8547:8545
networks:
private:
ipv4_address: 172.24.0.5
normalnode2:
image: eth-pri:1.0
container_name: eth-node2
depends_on:
- bootnode
command: geth --networkid 337 --datadir "/root/edu" --rpc --rpcaddr 0.0.0.0 --rpccorsdomain "*" --bootnodes enode://0c053daa5342e35ccb43de391746a318d13ebddb45fdf162faf2e008248af1d39f36c16906ccc725037d2da9814af7bed1ecd998a45d4c7e078bf7178f22f5d4@172.24.0.3:30301
ports:
- 8548:8545
networks:
private:
ipv4_address: 172.24.0.6
stats-backend:
image: eth-intelli
container_name: eth-intelli
networks:
private:
ipv4_address: 172.24.0.20
stats-frontend:
image: eth-stats
depends_on:
- stats-backend
container_name: eth-stats
ports:
- 3000:3000
networks:
private:
ipv4_address: 172.24.0.21
networks:
private:
ipam:
config:
- subnet: 172.24.0.0/16