homeserver/smartHome/docker-compose.yaml

53 lines
1.2 KiB
YAML
Raw Normal View History

2021-01-09 20:40:51 +01:00
services:
homeassistant:
2024-05-17 09:09:27 +02:00
image: ghcr.io/home-assistant/home-assistant:${HASSI_VERSION}
2021-01-09 20:40:51 +01:00
volumes:
2023-11-29 11:22:19 +01:00
- ${VOLUMES_PATH}/smartHome/homeassistent:/config
2023-01-12 10:03:26 +01:00
- /run/dbus:/run/dbus:ro
2021-01-09 20:40:51 +01:00
environment:
- TZ=Europe/Berlin
restart: unless-stopped
network_mode: host
labels:
- "docker.group=smartHome"
2021-01-09 20:40:51 +01:00
2024-10-08 13:18:15 +02:00
mqttbroker:
2024-05-17 09:09:27 +02:00
image: eclipse-mosquitto:${MOSQUITTO_VERSION}
restart: unless-stopped
2024-10-08 13:18:15 +02:00
networks:
- smarthome
ports:
- 1883:1883 # mqtt over TCP
# - 9001:9001 # Websockets
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
- ${VOLUMES_PATH}/smartHome/mosquitto/data:/mosquitto/data
- ${VOLUMES_PATH}/smartHome/mosquitto/log:/mosquitto/log
2024-10-08 16:02:32 +02:00
labels:
- "docker.group=smartHome"
zigbee2mqtt:
2021-01-09 20:40:51 +01:00
restart: unless-stopped
image: koenkk/zigbee2mqtt
2021-01-09 20:40:51 +01:00
volumes:
- ${VOLUMES_PATH}/smartHome/zigbee2mqtt:/app/data
- /run/udev:/run/udev:ro
2021-01-09 20:40:51 +01:00
environment:
- TZ=Europe/Berlin
devices:
2023-12-02 20:39:15 +01:00
- ${ZIGBEE_DEVICE}:/dev/ttyACM0
networks:
- web
2024-10-08 13:18:15 +02:00
- smarthome
2021-01-09 20:40:51 +01:00
labels:
- "docker.group=smartHome"
networks:
web:
external: true
2024-10-08 13:18:15 +02:00
smarthome: