docker-vm-compose/homeassistant/compose.yml

25 lines
593 B
YAML
Raw Normal View History

2024-07-27 23:23:30 +02:00
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
2024-11-09 13:00:11 +01:00
- ./homeassistant/config:/config
2024-07-27 23:23:30 +02:00
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
2025-01-15 10:13:48 +01:00
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