Facebook
From Bitty Marten, 2 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 31
  1. version: "2"
  2. services:
  3.   bitbon_node_stg_01:
  4. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:c6e7ffe7
  5. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:f98f890a
  6.     image: "registry.simcord.com/bitbon/bitbone-node/go-ethereum:${HASH}"
  7.     restart: on-failure
  8.     container_name: bitbon_node_stg_01
  9.     hostname: bitbon_node_stg_01
  10.     env_file:
  11.       - .env
  12.     entrypoint:
  13.       - /bin/sh
  14.       - -c
  15.       #- /geth --datadir=~/.ethereum/bitbon init "/root/files/genesis.json"
  16.       - /geth ${CLIENT_AGENT_NODE} --nodekeyhex=${NODE_ID_1}
  17.     volumes:
  18.       - ./files/password:/root/files/password:ro
  19.       - ./files/genesis.json:/root/files/genesis.json:ro
  20.       - ./files/archive-nodes.json:/root/.ethereum/bitbon/geth/archive-nodes.json:rw
  21.       - ./files/chain_bitbon_node_stg_01:/root/.ethereum/bitbon:rw
  22.       - ./files/keystore:/root/.ethereum/bitbon/keystore:rw
  23.       - ./files/trusted-nodes.json:/root/.ethereum/bitbon/trusted-nodes.json:rw
  24.       - ./files/static-nodes.json:/root/.ethereum/bitbon/static-nodes.json:rw
  25.       - /etc/localtime:/etc/localtime:ro
  26.       - ./files/chain_bitbon_node_stg_01/dag/:/root/.ethash/:rw
  27.     cpuset: "0-1"
  28.     mem_limit: 6114m
  29.     ports:
  30.       - "10310:30303"
  31.       - "10310:30303/udp"
  32.       - "10550:8545"
  33.   bitbon_node_stg_02:
  34. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:c6e7ffe7
  35. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:f98f890a
  36.     image: "registry.simcord.com/bitbon/bitbone-node/go-ethereum:${HASH}"
  37.     restart: on-failure
  38.     container_name: bitbon_node_stg_02
  39.     hostname: bitbon_node_stg_02
  40.     env_file:
  41.       - .env
  42.     entrypoint:
  43.       - /bin/sh
  44.       - -c
  45.       #- /geth --datadir=~/.ethereum/bitbon init "/root/files/genesis.json"
  46.       - /geth ${MINER_NODE} --nodekeyhex=${NODE_ID_2}
  47.     volumes:
  48.       - ./files/password:/root/files/password:ro
  49.       - ./files/genesis.json:/root/files/genesis.json:ro
  50.       - ./files/archive-nodes.json:/root/.ethereum/bitbon/geth/archive-nodes.json:rw
  51.       - ./files/chain_bitbon_node_stg_02:/root/.ethereum/bitbon:rw
  52.       - ./files/keystore:/root/.ethereum/bitbon/keystore:rw
  53.       - ./files/trusted-nodes.json:/root/.ethereum/bitbon/trusted-nodes.json:rw
  54.       - ./files/static-nodes.json:/root/.ethereum/bitbon/static-nodes.json:rw
  55.       - /etc/localtime:/etc/localtime:ro
  56.       - ./files/chain_bitbon_node_stg_02/dag/:/root/.ethash/:rw
  57.     cpuset: "2-3"
  58.     mem_limit: 6114m
  59.     ports:
  60.       - "10311:30303"
  61.       - "10311:30303/udp"
  62.       - "10551:8545"
  63.   bitbon_node_stg_03:
  64. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:c6e7ffe7
  65. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:f98f890a
  66.     image: "registry.simcord.com/bitbon/bitbone-node/go-ethereum:${HASH}"
  67.     restart: on-failure
  68.     container_name: bitbon_node_stg_03
  69.     hostname: bitbon_node_stg_03
  70.     env_file:
  71.       - .env
  72.     entrypoint:
  73.       - /bin/sh
  74.       - -c
  75.       #- /geth --datadir=~/.ethereum/bitbon init "/root/files/genesis.json"
  76.       - /geth ${CLIENT_NODE} --nodekeyhex=${NODE_ID_3}
  77.     volumes:
  78.       - ./files/password:/root/files/password:ro
  79.       - ./files/genesis.json:/root/files/genesis.json:ro
  80.       - ./files/archive-nodes.json:/root/.ethereum/bitbon/geth/archive-nodes.json:rw
  81.       - ./files/chain_bitbon_node_stg_03:/root/.ethereum/bitbon:rw
  82.       - ./files/keystore:/root/.ethereum/bitbon/keystore:rw
  83.       - ./files/trusted-nodes.json:/root/.ethereum/bitbon/trusted-nodes.json:rw
  84.       - ./files/static-nodes.json:/root/.ethereum/bitbon/static-nodes.json:rw
  85.       - /etc/localtime:/etc/localtime:ro
  86.       - ./files/chain_bitbon_node_stg_03/dag/:/root/.ethash/:rw
  87.     cpuset: "4-5"
  88.     mem_limit: 6114m
  89.     ports:
  90.       - "10312:30303"
  91.       - "10312:30303/udp"
  92.       - "10552:8545"
  93.   bitbon_node_stg_04:
  94. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:c6e7ffe7
  95. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:f98f890a
  96.     image: "registry.simcord.com/bitbon/bitbone-node/go-ethereum:${HASH}"
  97.     restart: on-failure
  98.     container_name: bitbon_node_stg_04
  99.     hostname: bitbon_node_stg_04
  100.     env_file:
  101.       - .env
  102.     entrypoint:
  103.       - /bin/sh
  104.       - -c
  105.       #- /geth --datadir=~/.ethereum/bitbon init "/root/files/genesis.json"
  106.       - /geth ${ARCHIVE_NODE1} --nodekeyhex=${NODE_ID_4}
  107.     volumes:
  108.       - ./files/password:/root/files/password:ro
  109.       - ./files/genesis.json:/root/files/genesis.json:ro
  110.       - ./files/archive-nodes.json:/root/.ethereum/bitbon/geth/archive-nodes.json:rw
  111.       - ./files/chain_bitbon_node_stg_04:/root/.ethereum/bitbon:rw
  112.       - ./files/keystore:/root/.ethereum/bitbon/keystore:rw
  113.       - ./files/trusted-nodes.json:/root/.ethereum/bitbon/trusted-nodes.json:rw
  114.       - ./files/static-nodes.json:/root/.ethereum/bitbon/static-nodes.json:rw
  115.       - /etc/localtime:/etc/localtime:ro
  116.       - ./files/chain_bitbon_node_stg_04/dag/:/root/.ethash/:rw
  117.     cpuset: "6-7"
  118.     mem_limit: 6114m
  119.     ports:
  120.       - "10313:30303"
  121.       - "10313:30303/udp"
  122.       - "10553:8545"
  123.   bitbon_node_stg_05:
  124. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:c6e7ffe7
  125. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:f98f890a
  126.     image: "registry.simcord.com/bitbon/bitbone-node/go-ethereum:${HASH}"
  127.     restart: on-failure
  128.     container_name: bitbon_node_stg_05
  129.     hostname: bitbon_node_stg_05
  130.     env_file:
  131.       - .env
  132.     entrypoint:
  133.       - /bin/sh
  134.       - -c
  135.       #- /geth --datadir=~/.ethereum/bitbon init "/root/files/genesis.json"
  136.       - /geth ${AGENT_NODE} --nodekeyhex=${NODE_ID_5}
  137.     volumes:
  138.       - ./files/password:/root/files/password:ro
  139.       - ./files/genesis.json:/root/files/genesis.json:ro
  140.       - ./files/archive-nodes.json:/root/.ethereum/bitbon/geth/archive-nodes.json:rw
  141.       - ./files/chain_bitbon_node_stg_05:/root/.ethereum/bitbon:rw
  142.       - ./files/keystore:/root/.ethereum/bitbon/keystore:rw
  143.       - ./files/trusted-nodes.json:/root/.ethereum/bitbon/trusted-nodes.json:rw
  144.       - ./files/static-nodes.json:/root/.ethereum/bitbon/static-nodes.json:rw
  145.       - /etc/localtime:/etc/localtime:ro
  146.       - ./files/chain_bitbon_node_stg_05/dag/:/root/.ethash/:rw
  147.     cpuset: "8-9"
  148.     mem_limit: 6114m
  149.     ports:
  150.       - "10314:30303"
  151.       - "10314:30303/udp"
  152.       - "10554:8545"
  153.   bitbon_node_stg_06:
  154. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:c6e7ffe7
  155. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:f98f890a
  156.     image: "registry.simcord.com/bitbon/bitbone-node/go-ethereum:{HASH}"
  157.     restart: on-failure
  158.     container_name: bitbon_node_stg_06
  159.     hostname: bitbon_node_stg_06
  160.     env_file:
  161.       - .env
  162.     entrypoint:
  163.       - /bin/sh
  164.       - -c
  165.       #- /geth --datadir=~/.ethereum/bitbon init "/root/files/genesis.json"
  166.       - /geth ${ARCHIVE_NODE2} --nodekeyhex=${NODE_ID_6}
  167.     volumes:
  168.       - ./files/password:/root/files/password:ro
  169.       - ./files/genesis.json:/root/files/genesis.json:ro
  170.       - ./files/archive-nodes.json:/root/.ethereum/bitbon/geth/archive-nodes.json:rw
  171.       - ./files/chain_bitbon_node_stg_06:/root/.ethereum/bitbon:rw
  172.       - ./files/keystore:/root/.ethereum/bitbon/keystore:rw
  173.       - ./files/trusted-nodes.json:/root/.ethereum/bitbon/trusted-nodes.json:rw
  174.       - ./files/static-nodes.json:/root/.ethereum/bitbon/static-nodes.json:rw
  175.       - /etc/localtime:/etc/localtime:ro
  176.       - ./files/chain_bitbon_node_stg_06/dag/:/root/.ethash/:rw
  177.     cpuset: "10-11"
  178.     mem_limit: 6114m
  179.     ports:
  180.       - "10315:30303"
  181.       - "10315:30303/udp"
  182.       - "10555:8545"
  183.   bitbon_node_stg_07:
  184. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:c6e7ffe7
  185. #    image: registry.simcord.com/bitbon/bitbone-node/go-ethereum:f98f890a
  186.     image: "registry.simcord.com/bitbon/bitbone-node/go-ethereum:${HASH}"
  187.     restart: on-failure
  188.     container_name: bitbon_node_stg_07
  189.     hostname: bitbon_node_stg_07
  190.     env_file:
  191.       - .env
  192.     entrypoint:
  193.       - /bin/sh
  194.       - -c
  195.       #- /geth --datadir=~/.ethereum/bitbon init "/root/files/genesis.json"
  196.       - /geth ${AGENT_FULL_SYNC_NODE} --nodekeyhex=${NODE_ID_7}
  197.     volumes:
  198.       - ./files/password:/root/files/password:ro
  199.       - ./files/genesis.json:/root/files/genesis.json:ro
  200.       - ./files/archive-nodes.json:/root/.ethereum/bitbon/geth/archive-nodes.json:rw
  201.       - ./files/chain_bitbon_node_stg_07:/root/.ethereum/bitbon:rw
  202.       - ./files/keystore:/root/.ethereum/bitbon/keystore:rw
  203.       - ./files/trusted-nodes.json:/root/.ethereum/bitbon/trusted-nodes.json:rw
  204.       - ./files/static-nodes.json:/root/.ethereum/bitbon/static-nodes.json:rw
  205.       - /etc/localtime:/etc/localtime:ro
  206.       - ./files/chain_bitbon_node_stg_07/dag/:/root/.ethash/:rw
  207.     cpuset: "11"
  208.     mem_limit: 6114m
  209.     ports:
  210.       - "10316:30303"
  211.       - "10316:30303/udp"
  212.       - "10556:8545"
  213.  
  214.   eth-net-intelligence:
  215.     image: registry.simcord.com/ci-utils/eth-net-intelligence-api:latest
  216.     restart: on-failure
  217.     container_name: eth-net-intelligence
  218.     volumes:
  219.       - ./files/app.json:/root/eth-net-intelligence-api/app.json:ro
  220.   netstats:
  221.     image: registry.simcord.com/bitbon/bitbone-node/eth-netstats:latest
  222.     restart: on-failure
  223.     container_name: netstats
  224.     environment:
  225.       - HOST_IP=192.168.253.14
  226.       - WS_SECRET=eth-net-stats-secret
  227.     command: npm start
  228.     volumes:
  229.       - /etc/localtime:/etc/localtime:ro
  230.     ports:
  231.       - "3000:3000"