60 lines
1.4 KiB
YAML
60 lines
1.4 KiB
YAML
services:
|
|
zigbee2mqtt:
|
|
image: "koenkk/zigbee2mqtt:stable"
|
|
container_name: Zigbee2MQTT
|
|
privileged: true
|
|
group_add:
|
|
- uucp
|
|
networks:
|
|
- homelogic
|
|
environment:
|
|
- TZ=America/Santiago
|
|
ports:
|
|
- 3001:8080
|
|
volumes:
|
|
- ./MQTT:/app/data
|
|
- /run/udev:/run/udev:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
#devices:
|
|
# - /dev/ttyACM0:/dev/ttyACM0
|
|
restart: unless-stopped
|
|
homeassistant:
|
|
container_name: HomeAssistant
|
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
|
volumes:
|
|
- ./config:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /run/dbus:/run/dbus:ro
|
|
restart: unless-stopped
|
|
privileged: true
|
|
network_mode: host
|
|
ports:
|
|
- 8123:8123
|
|
environment:
|
|
- TZ=America/Santiago
|
|
- PROXY_HOSTNAME=0.0.0.0/0
|
|
- HOME=/config
|
|
mosquitto:
|
|
image: "eclipse-mosquitto:stable"
|
|
container_name: Mosquitto
|
|
networks:
|
|
- homelogic
|
|
environment:
|
|
- GPG_KEYS=A0D6EEA1DCAE49A635A3B2F0779B22DFB3E717B7
|
|
volumes:
|
|
- ./Mosquitto:/mosquitto
|
|
- ./Mosquitto/data:/mosquitto/data
|
|
- ./Mosquitto/log:/mosquitto/log
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- 1883:1883
|
|
# - 3001:9001
|
|
#network_mode: host
|
|
#privileged: true
|
|
command: 'mosquitto -c mosquitto/mosquitto.conf'
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
homelogic:
|
|
name: homelogic
|
|
external: true |