-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.main.yml
44 lines (41 loc) · 1.58 KB
/
docker-compose.main.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
version: '2'
services:
ether.node1.com:
image: 'ethereum'
tty: true
ports:
- 8545:8545
- 30305:30305
environment:
ENV: ETHERNODE1
RPCPORT: 8545
PORT: 30305
container_name: ether.node1.com
command : geth --networkid 11223344 --maxpeers 30 --datadir /home/DATA_STORE --rpc --rpcport 8545 --rpcaddr "0.0.0.0" --rpccorsdomain "*" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --port 30305
working_dir: /home/DATA_STORE
ether.node2.com:
image: 'ethereum'
tty: true
ports:
- 8546:8546
- 30306:30306
environment:
ENV: ETHERNODE2
RPCPORT: 8546
PORT: 30306
container_name: ether.node2.com
command : geth --networkid 11223344 --maxpeers 30 --datadir /home/DATA_STORE --rpc --rpcport 8546 --rpcaddr "0.0.0.0" --rpccorsdomain "*" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --port 30306
working_dir: /home/DATA_STORE
ether.node3.com:
image: 'ethereum'
tty: true
ports:
- 8547:8547
- 30307:30307
environment:
ENV: ETHERNODE3
RPCPORT: 8547
PORT: 30307
container_name: ether.node3.com
command : geth --networkid 11223344 --maxpeers 30 --datadir /home/DATA_STORE --rpc --rpcport 8547 --rpcaddr "0.0.0.0" --rpccorsdomain "*" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --port 30307
working_dir: /home/DATA_STORE