-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
executable file
·45 lines (45 loc) · 1.76 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
version: "2"
services:
bootstrap:
build: monitored-geth-client
restart: always
container_name: bootstrap
hostname: bootstrap
links:
- netstats
entrypoint: /root/start.sh
command: '--datadir=~/.ethereum/devchain --identity "ethereum-testnet" --rpc --rpcaddr "0.0.0.0" --rpcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --ws --wsaddr "0.0.0.0" --nodekeyhex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322 --nodiscover --verbosity 3 --rpccorsdomain="*" --networkid=1618 --mine --minerthreads=1 --etherbase=0x0000000000000000000000000000000000000000'
volumes:
- ./files/password:/root/files/password:ro
- ./files/genesis.json:/root/files/genesis.json:ro
- ./files/keystore:/root/.ethereum/devchain/keystore:rw
ports:
- "30303:30303"
- "30303:30303/udp"
- "8545:8545"
ethminer:
build: monitored-geth-client
restart: always
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
command: '--datadir=~/.ethereum/devchain --rpcapi "db,personal,eth,net,web3" --rpccorsdomain="*" --networkid=1618 --rpc --rpcaddr="0.0.0.0" --bootnodes="enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@XXX:30303" --mine --minerthreads=1'
netstats:
build: eth-netstats
restart: always
container_name: netstats
environment:
- WS_SECRET=eth-net-stats-secret
ports:
- "3000:3000"
addons:
build: addons
restart: on-failure
container_name: addons
ports:
- "80:80"