This commit is contained in:
krumel
2024-01-20 20:26:08 +00:00
parent f1e8c9aec0
commit fad036d559
16 changed files with 501 additions and 0 deletions

View File

@ -0,0 +1,22 @@
version: '3'
services:
mosquitto:
container_name: mosquitto-broker
image: eclipse-mosquitto
volumes:
- /srv/docker/homeassistant/mosquitto:/mosquitto/
ports:
- 1883:1883
- 9001:9001
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /srv/docker/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
# sadly this is required for mDNS broadcasts
network_mode: host
depends_on:
- mosquitto