You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.3 KiB

  1. version: '3'
  2. services:
  3. node0:
  4. container_name: node0
  5. image: "tendermint/localnode"
  6. ports:
  7. - "46656-46657:46656-46657"
  8. environment:
  9. - ID=0
  10. - LOG=${LOG:-tendermint.log}
  11. volumes:
  12. - ${FOLDER:-./build}:/tendermint:Z
  13. networks:
  14. localnet:
  15. ipv4_address: 192.167.10.2
  16. node1:
  17. container_name: node1
  18. image: "tendermint/localnode"
  19. ports:
  20. - "46659-46660:46656-46657"
  21. environment:
  22. - ID=1
  23. - LOG=${LOG:-tendermint.log}
  24. volumes:
  25. - ${FOLDER:-./build}:/tendermint:Z
  26. networks:
  27. localnet:
  28. ipv4_address: 192.167.10.3
  29. node2:
  30. container_name: node2
  31. image: "tendermint/localnode"
  32. environment:
  33. - ID=2
  34. - LOG=${LOG:-tendermint.log}
  35. ports:
  36. - "46661-46662:46656-46657"
  37. volumes:
  38. - ${FOLDER:-./build}:/tendermint:Z
  39. networks:
  40. localnet:
  41. ipv4_address: 192.167.10.4
  42. node3:
  43. container_name: node3
  44. image: "tendermint/localnode"
  45. environment:
  46. - ID=3
  47. - LOG=${LOG:-tendermint.log}
  48. ports:
  49. - "46663-46664:46656-46657"
  50. volumes:
  51. - ${FOLDER:-./build}:/tendermint:Z
  52. networks:
  53. localnet:
  54. ipv4_address: 192.167.10.5
  55. networks:
  56. localnet:
  57. driver: bridge
  58. ipam:
  59. driver: default
  60. config:
  61. -
  62. subnet: 192.167.10.0/16