Add docker initial config
This commit is contained in:
60
Docker/HomeAssistant/compose.yml
Normal file
60
Docker/HomeAssistant/compose.yml
Normal file
@@ -0,0 +1,60 @@
|
||||
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
|
||||
Reference in New Issue
Block a user