Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- bootstrap:
- build:
- context: ./docker/geth
- image: quay.io/22u/eth:latest
- restart: on-failure
- hostname: bootstrap
- links:
- - netstats
- entrypoint: /root/start.sh
- command: '--datadir=~/.ethereum/devchain --nodekeyhex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322 --rpcapi "db,personal,eth,net,web3" --rpccorsdomain="*" --networkid=456711 --rpc --rpcaddr="0.0.0.0"'
- volumes:
- - ./docker/password:/root/files/password:ro
- - ./docker/genesis.json:/root/files/genesis.json:ro
- - ./docker/keystore:/root/.ethereum/devchain/keystore:rw
- - /etc/localtime:/etc/localtime:ro
- ports:
- - "30303:30303"
- - "30303:30303/udp"
- - "8545:8545"
- geth:
- image: quay.io/22u/eth:latest
- restart: on-failure
- links:
- - bootstrap
- - netstats
- entrypoint: /root/start.sh
- volumes:
- - ./docker/password:/root/files/password:ro
- - ./docker/genesis.json:/root/files/genesis.json:ro
- - ./docker/keystore:/root/.ethereum/devchain/keystore:rw
- - /etc/localtime:/etc/localtime:ro
- command: '--datadir=~/.ethereum/devchain --rpccorsdomain="*" --networkid=456711 --rpc --bootnodes="enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@XXX:30303"'
- miner:
- image: quay.io/22u/eth:latest
- restart: on-failure
- links:
- - bootstrap
- - netstats
- entrypoint: /root/start.sh
- volumes:
- - ./docker/password:/root/files/password:ro
- - ./docker/genesis.json:/root/files/genesis.json:ro
- - ./docker/keystore:/root/.ethereum/devchain/keystore:rw
- - /etc/localtime:/etc/localtime:ro
- command: '--datadir=~/.ethereum/devchain -mine -minerthreads=1 --etherbase=0xCf7e564db9d183baf8b87bC2154f9a35C8EEBf15 --rpccorsdomain="*" --networkid=456711 --rpc --bootnodes="enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@XXX:30303"'
- netstats:
- build:
- context: ./docker/netstats
- image: quay.io/22u/eth-netstats:latest
- restart: on-failure
- environment:
- - WS_SECRET=eth-net-stats-secret
- volumes:
- - /etc/localtime:/etc/localtime:ro
- ports:
- - 8001:3000
- explorer:
- image: carechain/eth-explorer:latest
- restart: on-failure
- ports:
- - 8000:8000
- volumes:
- - /etc/localtime:/etc/localtime:ro
- environment:
- - GETH_HOSTNAME=127.0.0.1
- - GETH_RPCPORT=8545
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement