docker-compose.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. version: '3.4'
  2. services:
  3. manager:
  4. image: emqx/ekuiper-manager:1.9
  5. container_name: ekuiper-manager
  6. ports:
  7. - "9082:9082"
  8. ekuiper:
  9. image: lfedge/ekuiper:1.9
  10. ports:
  11. - "9081:9081"
  12. - "127.0.0.1:20498:20498"
  13. container_name: ekuiper
  14. hostname: ekuiper
  15. environment:
  16. MQTT_SOURCE__DEFAULT__SERVER: "tcp://mybroker:1883"
  17. KUIPER__BASIC__CONSOLELOG: "true"
  18. KUIPER__BASIC__IGNORECASE: "false"
  19. # The default neuron url. Change it if you want to use another port.
  20. SOURCES__NEURON__DEFAULT__URL: "tcp://neuron:7081"
  21. volumes:
  22. - /tmp/data:/kuiper/data
  23. - /tmp/log:/kuiper/log
  24. # Enable the following line if you want to use the IPC mode to connect to earlier version of neuron
  25. # - nng-ipc:/tmp
  26. neuron:
  27. image: neugates/neuron:2.4.0
  28. ports:
  29. - "7001:7001"
  30. # The default port to communicate with eKuiper. Change it if you want to use another port.
  31. - "7081:7081"
  32. container_name: neuron
  33. hostname: neuron
  34. volumes:
  35. - /tmp/neuron/data:/opt/neuron/persistence
  36. # Enable the following line if you want to use the IPC mode to connect to earlier version of eKuiper
  37. # - nng-ipc:/tmp
  38. # Enable the following lines if you want to use the IPC mode to connect to earlier version of eKuiper and neuron
  39. # volumes:
  40. # nng-ipc: