52 lines
987 B
YAML
52 lines
987 B
YAML
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"
|
|
ports:
|
|
- 8080:8080
|
|
devices:
|
|
- /dev/ttyUSB0:/dev/ttyUSB0
|
|
privileged: true
|
|
restart: always
|
|
networks:
|
|
- backend
|
|
environment:
|
|
TZ: Europe/Berlin
|
|
|
|
networks:
|
|
backend:
|
|
external:
|
|
name: backend
|