Create homeassistant.yaml
This commit is contained in:
49
homeassistant.yaml
Normal file
49
homeassistant.yaml
Normal file
@@ -0,0 +1,49 @@
|
||||
version: "3.7"
|
||||
services:
|
||||
mqtt:
|
||||
container_name: mqtt
|
||||
image: eclipse-mosquitto:latest
|
||||
volumes:
|
||||
- /hdd/mqtt:/mosquitto/
|
||||
ports:
|
||||
- 1883:1883
|
||||
- 9001:9001
|
||||
network_mode: host
|
||||
restart: always
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
|
||||
hass:
|
||||
container_name: homeassistant
|
||||
image: homeassistant/home-assistant:latest
|
||||
volumes:
|
||||
- /hdd/home-assistant:/config
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
network_mode: host
|
||||
ports:
|
||||
- 8123:8123
|
||||
privileged: true
|
||||
restart: always
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
|
||||
zigbee2mqtt:
|
||||
container_name: zigbee2mqtt
|
||||
image: koenkk/zigbee2mqtt:latest
|
||||
volumes:
|
||||
- /hdd/zigbee2mqtt:/app/data
|
||||
expose:
|
||||
- "8888"
|
||||
devices:
|
||||
- /dev/ttyACM0:/dev/ttyACM0
|
||||
privileged: true
|
||||
restart: always
|
||||
networks:
|
||||
- backend
|
||||
environment:
|
||||
TZ: Europe/Berlin
|
||||
|
||||
networks:
|
||||
backend:
|
||||
external:
|
||||
name: backend
|
||||
Reference in New Issue
Block a user