docker-compose-iotdb.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. version: '3.9'
  2. services:
  3. iotdb_1_3_0:
  4. container_name: iotdb130
  5. hostname: iotdb130
  6. image: apache/iotdb:1.3.0-standalone
  7. restart: always
  8. environment:
  9. - enable_rest_service=true
  10. - cn_internal_address=iotdb130
  11. - cn_internal_port=10710
  12. - cn_consensus_port=10720
  13. - cn_seed_config_node=iotdb130:10710
  14. - dn_rpc_address=iotdb130
  15. - dn_internal_address=iotdb130
  16. - dn_rpc_port=6667
  17. - dn_mpp_data_exchange_port=10740
  18. - dn_schema_region_consensus_port=10750
  19. - dn_data_region_consensus_port=10760
  20. - dn_seed_config_node=iotdb130:10710
  21. # volumes:
  22. # - ./data:/iotdb/data
  23. # - ./logs:/iotdb/logs
  24. expose:
  25. - "18080"
  26. # IoTDB's REST interface, uncomment for local testing
  27. # ports:
  28. # - "18080:18080"
  29. networks:
  30. - emqx_bridge
  31. iotdb_1_1_0:
  32. container_name: iotdb110
  33. hostname: iotdb110
  34. image: apache/iotdb:1.1.0-standalone
  35. restart: always
  36. environment:
  37. - enable_rest_service=true
  38. - cn_internal_address=iotdb110
  39. - cn_internal_port=10710
  40. - cn_consensus_port=10720
  41. - cn_target_config_node_list=iotdb110:10710
  42. - dn_rpc_address=iotdb110
  43. - dn_internal_address=iotdb110
  44. - dn_rpc_port=6667
  45. - dn_mpp_data_exchange_port=10740
  46. - dn_schema_region_consensus_port=10750
  47. - dn_data_region_consensus_port=10760
  48. - dn_target_config_node_list=iotdb110:10710
  49. # volumes:
  50. # - ./data:/iotdb/data
  51. # - ./logs:/iotdb/logs
  52. expose:
  53. - "18080"
  54. # IoTDB's REST interface, uncomment for local testing
  55. # ports:
  56. # - "18080:18080"
  57. networks:
  58. - emqx_bridge
  59. iotdb_0_13:
  60. container_name: iotdb013
  61. hostname: iotdb013
  62. image: apache/iotdb:0.13.4-node
  63. restart: always
  64. environment:
  65. - enable_rest_service=true
  66. - cn_internal_address=iotdb013
  67. - cn_internal_port=10710
  68. - cn_consensus_port=10720
  69. - cn_target_config_node_list=iotdb013:10710
  70. - dn_rpc_address=iotdb013
  71. - dn_internal_address=iotdb013
  72. - dn_rpc_port=6667
  73. - dn_mpp_data_exchange_port=10740
  74. - dn_schema_region_consensus_port=10750
  75. - dn_data_region_consensus_port=10760
  76. - dn_target_config_node_list=iotdb013:10710
  77. volumes:
  78. - ./iotdb013/iotdb-rest.properties:/iotdb/conf/iotdb-rest.properties
  79. # - ./data:/iotdb/data
  80. # - ./logs:/iotdb/logs
  81. expose:
  82. - "18080"
  83. # IoTDB's REST interface, uncomment for local testing
  84. # ports:
  85. # - "18080:18080"
  86. networks:
  87. - emqx_bridge