forked from AIE-London/ethereum-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (43 loc) · 1.54 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
version: '2'
services:
bootstrap:
build: monitored-geth-client
restart: on-failure
container_name: bootstrap
hostname: bootstrap
links:
- netstats
entrypoint: /root/start.sh
command: '--datadir=~/.ethereum/devchain --nodekeyhex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322 --rpcapi "db,personal,eth,net,web3" --rpccorsdomain="*" --networkid=456719 --rpc --rpcaddr="0.0.0.0"'
volumes:
- ./files/password:/root/files/password:ro
- ./files/genesis.json:/root/files/genesis.json:ro
- ./files/keystore:/root/.ethereum/devchain/keystore:rw
- /etc/localtime:/etc/localtime:ro
ports:
- "30303:30303"
- "30303:30303/udp"
- "8545:8545"
eth:
build: monitored-geth-client
restart: on-failure
links:
- bootstrap
- netstats
entrypoint: /root/start.sh
volumes:
- ./files/password:/root/files/password:ro
- ./files/genesis.json:/root/files/genesis.json:ro
- ./files/keystore:/root/.ethereum/devchain/keystore:rw
- /etc/localtime:/etc/localtime:ro
command: '--datadir=~/.ethereum/devchain --rpccorsdomain="*" --networkid=456719 --rpc --bootnodes="enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@XXX:30303"'
netstats:
build: eth-netstats
restart: on-failure
container_name: netstats
environment:
- WS_SECRET=eth-net-stats-secret
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"