docker-vm-compose/homeassistant/compose.yml

25 lines
No EOL
593 B
YAML

services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- ./homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
nodered:
container_name: nodered
image: nodered/node-red
ports:
- 1880:1880
volumes:
- ./nodered:/data
depends_on:
- homeassistant
#- mosquitto
environment:
- TZ=Europe/Berlin
user: node-red
restart: unless-stopped