forked from antimatter-dao/bas-template-bsc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.build.yaml
131 lines (127 loc) · 4.66 KB
/
docker-compose.build.yaml
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
version: "3"
services:
bootnode:
build: "./"
command:
- "--datadir=/datadir"
- "--genesis=/datadir/testnet.json"
- "--networkid=17243"
- "--nodekeyhex=633ab917d09441de38ae9251e79ced41df39a1c338842b826c18fb1773246e18"
- "--syncmode=full"
- "--http"
- "--http.addr=0.0.0.0"
- "--http.api=eth,net,web3,debug,trace,txpool"
- "--http.port=8545"
- "--http.corsdomain=*"
- "--http.vhosts=*"
volumes:
- "./genesis/testnet.json:/datadir/testnet.json"
ports:
- "8545:8545"
- "8546:8546"
restart: always
validator_1:
build: "./"
command:
- "--datadir=/datadir"
- "--genesis=/datadir/testnet.json"
- "--mine"
- "--password=/datadir/password.txt"
- "--allow-insecure-unlock"
- "--unlock=0x08fae3885e299c24ff9841478eb946f41023ac69"
- "--miner.etherbase=0x08fae3885e299c24ff9841478eb946f41023ac69"
- "--bootnodes=enode://5c8e90050fabb7e14e4921dc107caf533140112245e7a231d0edc49861cd779760ad4804e7034952a5cc79422fa9d31c54e9a6141fb4995af7a6bfce7a39140f@bootnode:30303"
- "--gcmode=archive"
- "--syncmode=full"
- "--networkid=17243"
volumes:
- "./genesis/testnet.json:/datadir/testnet.json"
- "./genesis/keystore:/datadir/keystore"
- "./genesis/password.txt:/datadir/password.txt"
restart: always
validator_2:
build: "./"
command:
- "--datadir=/datadir"
- "--genesis=/datadir/testnet.json"
- "--mine"
- "--password=/datadir/password.txt"
- "--allow-insecure-unlock"
- "--unlock=0x751aaca849b09a3e347bbfe125cf18423cc24b40"
- "--miner.etherbase=0x751aaca849b09a3e347bbfe125cf18423cc24b40"
- "--bootnodes=enode://5c8e90050fabb7e14e4921dc107caf533140112245e7a231d0edc49861cd779760ad4804e7034952a5cc79422fa9d31c54e9a6141fb4995af7a6bfce7a39140f@bootnode:30303"
- "--gcmode=archive"
- "--syncmode=full"
- "--networkid=17243"
volumes:
- "./genesis/testnet.json:/datadir/testnet.json"
- "./genesis/keystore:/datadir/keystore"
- "./genesis/password.txt:/datadir/password.txt"
restart: always
validator_3:
build: "./"
command:
- "--datadir=/datadir"
- "--genesis=/datadir/testnet.json"
- "--mine"
- "--password=/datadir/password.txt"
- "--allow-insecure-unlock"
- "--unlock=0xa6ff33e3250cc765052ac9d7f7dfebda183c4b9b"
- "--miner.etherbase=0xa6ff33e3250cc765052ac9d7f7dfebda183c4b9b"
- "--bootnodes=enode://5c8e90050fabb7e14e4921dc107caf533140112245e7a231d0edc49861cd779760ad4804e7034952a5cc79422fa9d31c54e9a6141fb4995af7a6bfce7a39140f@bootnode:30303"
- "--gcmode=archive"
- "--syncmode=full"
- "--networkid=17243"
volumes:
- "./genesis/testnet.json:/datadir/testnet.json"
- "./genesis/keystore:/datadir/keystore"
- "./genesis/password.txt:/datadir/password.txt"
restart: always
validator_4:
build: "./"
command:
- "--datadir=/datadir"
- "--genesis=/datadir/testnet.json"
- "--mine"
- "--password=/datadir/password.txt"
- "--allow-insecure-unlock"
- "--unlock=0x49c0f7c8c11a4c80dc6449efe1010bb166818da8"
- "--miner.etherbase=0x49c0f7c8c11a4c80dc6449efe1010bb166818da8"
- "--bootnodes=enode://5c8e90050fabb7e14e4921dc107caf533140112245e7a231d0edc49861cd779760ad4804e7034952a5cc79422fa9d31c54e9a6141fb4995af7a6bfce7a39140f@bootnode:30303"
- "--gcmode=archive"
- "--syncmode=full"
- "--networkid=17243"
volumes:
- "./genesis/testnet.json:/datadir/testnet.json"
- "./genesis/keystore:/datadir/keystore"
- "./genesis/password.txt:/datadir/password.txt"
restart: always
validator_5:
build: "./"
command:
- "--datadir=/datadir"
- "--genesis=/datadir/testnet.json"
- "--mine"
- "--password=/datadir/password.txt"
- "--allow-insecure-unlock"
- "--unlock=0x8e1ea6eaa09c3b40f4a51fcd056a031870a0549a"
- "--miner.etherbase=0x8e1ea6eaa09c3b40f4a51fcd056a031870a0549a"
- "--bootnodes=enode://5c8e90050fabb7e14e4921dc107caf533140112245e7a231d0edc49861cd779760ad4804e7034952a5cc79422fa9d31c54e9a6141fb4995af7a6bfce7a39140f@bootnode:30303"
- "--gcmode=archive"
- "--syncmode=full"
- "--networkid=17243"
volumes:
- "./genesis/testnet.json:/datadir/testnet.json"
- "./genesis/keystore:/datadir/keystore"
- "./genesis/password.txt:/datadir/password.txt"
restart: always
# nginx:
# image: nginx
# volumes:
# - /root/.acme.sh/:/root/.acme.sh/
# - ./nginx.conf:/etc/nginx/conf.d/00-default.conf
# ports:
# - "443:443"
# restart: always
volumes:
postgresql_data: { }