From 55b37cb09e396c6d67c32b557709730cfacc5ed9 Mon Sep 17 00:00:00 2001 From: sujiba Date: Thu, 22 Feb 2024 22:13:26 +0000 Subject: [PATCH] =?UTF-8?q?homeassistant/docker-compose.yml=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- homeassistant/docker-compose.yml | 46 ++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 homeassistant/docker-compose.yml diff --git a/homeassistant/docker-compose.yml b/homeassistant/docker-compose.yml new file mode 100644 index 0000000..30e84da --- /dev/null +++ b/homeassistant/docker-compose.yml @@ -0,0 +1,46 @@ +version: '3.8' +services: + + homeassistant: + image: ghcr.io/home-assistant/home-assistant:stable + container_name: homeassistant + volumes: + - ./volumes/homeassistant/config:/config + - /etc/localtime:/etc/localtime:ro + environment: + - TZ=Europe/Berlin + network_mode: host + restart: unless-stopped + + zigbee2mqtt: + image: koenkk/zigbee2mqtt + container_name: zigbee2mqtt + group_add: + - dialout + ports: + - 127.0.0.1:38080:8080 + volumes: + - ./volumes/zigbee2mqtt/data:/app/data + - /run/udev:/run/udev:ro + environment: + - TZ=Europe/Berlin + devices: + # Make sure this matched your adapter location + - /dev/ttyACM0:/dev/ttyACM0 + restart: unless-stopped + + mqtt: + image: eclipse-mosquitto:2.0 + container_name: mqtt + command: "mosquitto -c /mosquitto-no-auth.conf" + ports: + - 127.0.0.1:1883:1883 + # Websocket Port + #- 127.0.0.1:9001:9001 + volumes: + - ./volumes/mosquitto/conf:/mosquitto/conf + - ./volumes/mosquitto/data:/mosquitto/data + - ./volumes/mosquitto/logs:/mosquitto/log + environment: + - TZ=Europe/Berlin + restart: unless-stopped \ No newline at end of file