homeassistant/docker-compose.yml hinzugefügt
This commit is contained in:
parent
707f163e15
commit
55b37cb09e
1 changed files with 46 additions and 0 deletions
46
homeassistant/docker-compose.yml
Normal file
46
homeassistant/docker-compose.yml
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue