Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.51 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4.  
  5. bootstrap:
  6. build:
  7. context: ./docker/geth
  8. image: quay.io/22u/eth:latest
  9. restart: on-failure
  10. hostname: bootstrap
  11. links:
  12. - netstats
  13. entrypoint: /root/start.sh
  14. command: '--datadir=~/.ethereum/devchain --nodekeyhex=091bd6067cb4612df85d9c1ff85cc47f259ced4d4cd99816b14f35650f59c322 --rpcapi "db,personal,eth,net,web3" --rpccorsdomain="*" --networkid=456711 --rpc --rpcaddr="0.0.0.0"'
  15. volumes:
  16. - ./docker/password:/root/files/password:ro
  17. - ./docker/genesis.json:/root/files/genesis.json:ro
  18. - ./docker/keystore:/root/.ethereum/devchain/keystore:rw
  19. - /etc/localtime:/etc/localtime:ro
  20. ports:
  21. - "30303:30303"
  22. - "30303:30303/udp"
  23. - "8545:8545"
  24.  
  25. geth:
  26. image: quay.io/22u/eth:latest
  27. restart: on-failure
  28. links:
  29. - bootstrap
  30. - netstats
  31. entrypoint: /root/start.sh
  32. volumes:
  33. - ./docker/password:/root/files/password:ro
  34. - ./docker/genesis.json:/root/files/genesis.json:ro
  35. - ./docker/keystore:/root/.ethereum/devchain/keystore:rw
  36. - /etc/localtime:/etc/localtime:ro
  37. command: '--datadir=~/.ethereum/devchain --rpccorsdomain="*" --networkid=456711 --rpc --bootnodes="enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@XXX:30303"'
  38.  
  39. miner:
  40. image: quay.io/22u/eth:latest
  41. restart: on-failure
  42. links:
  43. - bootstrap
  44. - netstats
  45. entrypoint: /root/start.sh
  46. volumes:
  47. - ./docker/password:/root/files/password:ro
  48. - ./docker/genesis.json:/root/files/genesis.json:ro
  49. - ./docker/keystore:/root/.ethereum/devchain/keystore:rw
  50. - /etc/localtime:/etc/localtime:ro
  51. command: '--datadir=~/.ethereum/devchain -mine -minerthreads=1 --etherbase=0xCf7e564db9d183baf8b87bC2154f9a35C8EEBf15 --rpccorsdomain="*" --networkid=456711 --rpc --bootnodes="enode://288b97262895b1c7ec61cf314c2e2004407d0a5dc77566877aad1f2a36659c8b698f4b56fd06c4a0c0bf007b4cfb3e7122d907da3b005fa90e724441902eb19e@XXX:30303"'
  52.  
  53. netstats:
  54. build:
  55. context: ./docker/netstats
  56. image: quay.io/22u/eth-netstats:latest
  57. restart: on-failure
  58. environment:
  59. - WS_SECRET=eth-net-stats-secret
  60. volumes:
  61. - /etc/localtime:/etc/localtime:ro
  62. ports:
  63. - 8001:3000
  64.  
  65. explorer:
  66. image: carechain/eth-explorer:latest
  67. restart: on-failure
  68. ports:
  69. - 8000:8000
  70. volumes:
  71. - /etc/localtime:/etc/localtime:ro
  72. environment:
  73. - GETH_HOSTNAME=127.0.0.1
  74. - GETH_RPCPORT=8545
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement