-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
74 lines (67 loc) · 2.09 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
74
version: '3.7'
services:
validator1:
image: hyperledger/besu:latest
container_name: validator1
network_mode: host
volumes:
- ./validator1:/data
command: >
--genesis-file=/data/genesis.json
--data-path=/data
--rpc-http-enabled
--rpc-http-api=ETH,NET,QBFT
--host-whitelist="*"
--rpc-http-cors-origins="all"
--rpc-http-port=8545
--p2p-port=30303
validator2:
image: hyperledger/besu:latest
container_name: validator2
network_mode: host
volumes:
- ./validator2:/data
command: >
--genesis-file=/data/genesis.json
--data-path=/data
--rpc-http-enabled
--rpc-http-api=ETH,NET,QBFT
--host-whitelist="*"
--rpc-http-cors-origins="all"
--rpc-http-port=8546
--p2p-port=30304
--bootnodes=enode://8bfa1ffcfe7be08235a4c0cffc2e5cf79a9f93dea2dd41e5e036e457fa7b72f58a83254cb3dd461396244c1f5e67b355e91245f3f3893e809211abd28a7ae3aa@127.0.0.1:30303
validator3:
image: hyperledger/besu:latest
container_name: validator3
network_mode: host
volumes:
- ./validator3:/data
command: >
--genesis-file=/data/genesis.json
--data-path=/data
--rpc-http-enabled
--rpc-http-api=ETH,NET,QBFT
--host-whitelist="*"
--rpc-http-cors-origins="all"
--rpc-http-port=8547
--p2p-port=30305
--bootnodes=enode://8bfa1ffcfe7be08235a4c0cffc2e5cf79a9f93dea2dd41e5e036e457fa7b72f58a83254cb3dd461396244c1f5e67b355e91245f3f3893e809211abd28a7ae3aa@127.0.0.1:30303
validator4:
image: hyperledger/besu:latest
container_name: validator4
network_mode: host
volumes:
- ./validator4:/data
command: >
--genesis-file=/data/genesis.json
--data-path=/data
--rpc-http-enabled
--rpc-http-api=ETH,NET,QBFT
--host-whitelist="*"
--rpc-http-cors-origins="all"
--rpc-http-port=8548
--p2p-port=30306
--bootnodes=enode://8bfa1ffcfe7be08235a4c0cffc2e5cf79a9f93dea2dd41e5e036e457fa7b72f58a83254cb3dd461396244c1f5e67b355e91245f3f3893e809211abd28a7ae3aa@127.0.0.1:30303
volumes:
pgdata: