22 lines
509 B
YAML
22 lines
509 B
YAML
services:
|
|
homeassistant:
|
|
container_name: homeassistant
|
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
|
volumes:
|
|
- ./docker/home-assistant:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /run/dbus:/run/dbus:ro
|
|
restart: always
|
|
privileged: true
|
|
network_mode: host
|
|
environment:
|
|
TZ: Europe/Berlin
|
|
|
|
mosquitto:
|
|
image: eclipse-mosquitto:latest
|
|
command: mosquitto -c /mosquitto-no-auth.conf
|
|
ports:
|
|
- "1883:1883"
|
|
restart: unless-stopped
|
|
|