docker-compose.kafka.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. #
  2. # Copyright © 2016-2023 The Thingsboard Authors
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. version: '3.0'
  17. services:
  18. kafka:
  19. restart: always
  20. image: "bitnami/kafka:3.2.0"
  21. ports:
  22. - "9092:9092"
  23. env_file:
  24. - kafka.env
  25. depends_on:
  26. - zookeeper
  27. tb-js-executor:
  28. env_file:
  29. - queue-kafka.env
  30. depends_on:
  31. - kafka
  32. tb-core1:
  33. env_file:
  34. - queue-kafka.env
  35. depends_on:
  36. - kafka
  37. tb-core2:
  38. env_file:
  39. - queue-kafka.env
  40. depends_on:
  41. - kafka
  42. tb-rule-engine1:
  43. env_file:
  44. - queue-kafka.env
  45. depends_on:
  46. - kafka
  47. tb-rule-engine2:
  48. env_file:
  49. - queue-kafka.env
  50. depends_on:
  51. - kafka
  52. tb-mqtt-transport1:
  53. env_file:
  54. - queue-kafka.env
  55. depends_on:
  56. - kafka
  57. tb-mqtt-transport2:
  58. env_file:
  59. - queue-kafka.env
  60. depends_on:
  61. - kafka
  62. tb-http-transport1:
  63. env_file:
  64. - queue-kafka.env
  65. depends_on:
  66. - kafka
  67. tb-http-transport2:
  68. env_file:
  69. - queue-kafka.env
  70. depends_on:
  71. - kafka
  72. tb-coap-transport:
  73. env_file:
  74. - queue-kafka.env
  75. depends_on:
  76. - kafka
  77. tb-lwm2m-transport:
  78. env_file:
  79. - queue-kafka.env
  80. depends_on:
  81. - kafka
  82. tb-snmp-transport:
  83. env_file:
  84. - queue-kafka.env
  85. depends_on:
  86. - kafka
  87. tb-vc-executor1:
  88. env_file:
  89. - queue-kafka.env
  90. depends_on:
  91. - kafka
  92. tb-vc-executor2:
  93. env_file:
  94. - queue-kafka.env
  95. depends_on:
  96. - kafka