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.

70 lines
1.3 KiB

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