docker-compose.yml 764 B

12345678910111213141516171819202122232425262728293031323334
  1. version: "3"
  2. services:
  3. node_alice:
  4. image: joystream/node-testing
  5. container_name: alice
  6. entrypoint: ./node --chain=chainspec.json --alice --validator --ws-external --rpc-cors=all
  7. ports:
  8. - "30333:30333"
  9. - "9933:9933"
  10. - "9944:9944"
  11. networks:
  12. testing_net:
  13. ipv4_address: 172.28.1.1
  14. node_bob:
  15. image: joystream/node-testing
  16. container_name: bob
  17. entrypoint: ./node --chain=chainspec.json --bob --ws-external --rpc-cors=all
  18. ports:
  19. - "30335:30333"
  20. - "9935:9933"
  21. - "9945:9944"
  22. links:
  23. - "node_alice:alice"
  24. networks:
  25. testing_net:
  26. ipv4_address: 172.28.1.2
  27. networks:
  28. testing_net:
  29. ipam:
  30. driver: default
  31. config:
  32. - subnet: 172.28.0.0/16