Advertisement
Guest User

compose smarhome

a guest
Feb 15th, 2025
13
0
13 hours
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. networks:
  2. smarthome:
  3. name: smarthome
  4. driver: bridge
  5. services:
  6. mosquitto:
  7. image: eclipse-mosquitto:latest
  8. container_name: mosquitto
  9. restart: unless-stopped
  10. ports:
  11. - 1883:1883
  12. volumes:
  13. - ~/apps/mosquitto/data:/mosquitto/data
  14. - ~/apps/mosquitto/config:/mosquitto/config
  15. - ~/apps/mosquitto/log:/mosquitto/log
  16. environment:
  17. - TZ=Europe/Berlin
  18. networks:
  19. - smarthome
  20. zigbee2mqtt:
  21. image: koenkk/zigbee2mqtt:latest
  22. container_name: zigbee2mqtt
  23. hostname: zigbee2mqtt
  24. restart: unless-stopped
  25. depends_on:
  26. - mosquitto
  27. ports:
  28. - 8080:8080
  29. volumes:
  30. - ~/apps/zigbee2mqtt/data:/app/data
  31. - /run/udev:/run/udev:ro
  32. devices:
  33. - /dev/ttyACM0:/dev/ttyACM0
  34. environment:
  35. - TZ=Europe/Berlin
  36. networks:
  37. - smarthome
  38. homebridge:
  39. image: homebridge/homebridge:latest
  40. container_name: homebridge
  41. restart: unless-stopped
  42. ports:
  43. - 8581:8581
  44. volumes:
  45. - ~/apps/homebridge:/homebridge
  46. environment:
  47. - TZ=Europe/Berlin
  48. networks:
  49. - smarthome
  50. nodered:
  51. image: nodered/node-red:latest
  52. container_name: nodered
  53. restart: unless-stopped
  54. ports:
  55. - 1880:1880
  56. volumes:
  57. - ~/apps/nodered/data:/data
  58. environment:
  59. - TZ=Europe/Berlin
  60. - NODE_RED_UID=1000
  61. - NODE_RED_GID=1000
  62. networks:
  63. - smarthome
  64.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement