Difference between revisions of "Home Automation/Hass with Dockerfile"
Jump to navigation
Jump to search
(Created page with "``` version: '3.2' volumes: zigbee2mqtt: mosquitto: hass: nodered: services: mosquitto: image: eclipse-mosquitto:2.0.18 restart: unless-stopped net...") |
|||
| Line 1: | Line 1: | ||
| − | + | <pre> | |
version: '3.2' | version: '3.2' | ||
| Line 41: | Line 41: | ||
volumes: | volumes: | ||
- nodered:/data | - nodered:/data | ||
| − | + | </pre> | |
Revision as of 22:05, 22 September 2024
version: '3.2'
volumes:
zigbee2mqtt:
mosquitto:
hass:
nodered:
services:
mosquitto:
image: eclipse-mosquitto:2.0.18
restart: unless-stopped
network_mode: host
volumes:
- mosquitto:/mosquitto/config
zigbee2mqtt:
image: koenkk/zigbee2mqtt:1.40.1
volumes:
- zigbee2mqtt:/app/data
- /run/udev:/run/udev:ro
devices:
- /dev/serial/by-id/usb-1a86_USB_Single_Serial_5322028960-if00:/dev/ttyACM0
restart: unless-stopped
network_mode: host
privileged: true
environment:
- TZ
hass:
image: homeassistant/home-assistant:2024.9
restart: unless-stopped
network_mode: host
volumes:
- hass:/config
- /etc/localtime:/etc/localtime
- /run/dbus:/run/debus:ro
node-red:
image: srakrn/node-red-with-modules:20240215-it2
restart: unless-stopped
network_mode: host
volumes:
- nodered:/data