version: '3' services: node_alice: container_name: alice image: chevdor/substrate:${TAG:-latest} ports: - "30333:30333" - "9933:9933" - "9944:9944" volumes: - "substrate-data-alice:/data" command: substrate --chain=local --validator --alice -d /data --ws-external --rpc-cors all --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 node_bob: container_name: bob image: chevdor/substrate:${TAG:-latest} ports: - "30334:30333" - "9935:9933" - "9945:9944" volumes: - "substrate-data-bob:/data" links: - "node_alice:alice" command: substrate --chain=local --validator --bob -d /data --ws-external --rpc-cors all --bootnodes '/ip4/node_alice/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 ui: image: chevdor/polkadot-ui ports: - "80:80" volumes: substrate-data-alice: substrate-data-bob: networks: testing_net: ipam: driver: default config: - subnet: 172.28.0.0/16