version: '3' services: bitcoind: image: mocacinno/btc_testnet4:bci_node privileged: true container_name: bitcoind volumes: - /root/project/run_btc_testnet4/data:/root/.bitcoin/ ports: - "8333:8333" - "48332:48332" - "5000:5000" command: bitcoind --testnet4 --server --rpcbind=0.0.0.0 --rpcuser=demo --rpcpassword=demo --rpcport=5000 --rpcallowip=53.38.0.0/16 --rpcallowip=172.0.0.0/8 --rpcallowip=127.0.0.1 --rpcallowip=10.8.0.0/16 networks: - my_network ckpool: image: mocacinno/btc_testnet4:bci_ckpool container_name: ckpool ports: - "3334:3334" command: ckpool -B networks: - my_network networks: my_network: driver: bridge