Advertisement
Guest User

homeassistant compose file

a guest
Apr 19th, 2025
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. name: homeassistant
  2.  
  3. services:
  4. homeassistant:
  5. container_name: homeassistant
  6. image: "ghcr.io/home-assistant/home-assistant:stable"
  7. volumes:
  8. - ./config:/config
  9. - /etc/localtime:/etc/localtime:ro
  10. - /run/dbus:/run/dbus:ro
  11. restart: unless-stopped
  12. privileged: true
  13. network_mode: host
  14.  
  15. emqx:
  16. container_name: emqx
  17. image: emqx/emqx
  18. ports:
  19. - 1883:1883
  20. - 8083:8083
  21. - 8084:8084
  22. - 8883:8883
  23. - 18083:18083
  24. volumes:
  25. - ./emqx/data:/opt/emqx/data
  26. - ./emqx/log:/opt/emqx/log
  27. restart: unless-stopped
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement