97 lines
2.6 KiB
YAML
Executable file
97 lines
2.6 KiB
YAML
Executable file
services:
|
|
homeassistant:
|
|
container_name: homeassistant
|
|
image: "lscr.io/linuxserver/homeassistant:latest"
|
|
network_mode: host
|
|
volumes:
|
|
- /docker/homeassistant/homeassistant:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /run/dbus:/run/dbus:ro
|
|
- /var/run/dbus:/var/run/dbus:ro
|
|
restart: unless-stopped
|
|
privileged: true
|
|
environment:
|
|
- MATTER_SERVER_URL=http://172.16.201.21:5580
|
|
- DOCKER_MODS=linuxserver/mods:homeassistant-hacs
|
|
entrypoint: ["/init"]
|
|
#entrypoint: ["/bin/sh", "-c", "/update_kwikset.sh && exec /entrypoint.sh"]
|
|
|
|
mosquitto:
|
|
image: eclipse-mosquitto:2
|
|
container_name: mosquitto
|
|
restart: unless-stopped
|
|
ports:
|
|
- "1883:1883"
|
|
volumes:
|
|
- /docker/homeassistant/mosquitto/config:/mosquitto/config
|
|
- /docker/homeassistant/mosquitto/data:/mosquitto/data
|
|
- /docker/homeassistant/mosquitto:/mosquitto/log
|
|
networks:
|
|
- mqtt_net
|
|
|
|
node-red:
|
|
image: nodered/node-red:latest
|
|
container_name: node-red
|
|
restart: unless-stopped
|
|
ports:
|
|
- "1880:1880"
|
|
volumes:
|
|
- /docker/homeassistant/node-red:/data
|
|
|
|
matter-server:
|
|
image: ghcr.io/home-assistant-libs/python-matter-server:stable
|
|
container_name: matter-server
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
volumes:
|
|
- /docker/homeassistant/matter:/data
|
|
environment:
|
|
- MATTER_SERVER_PORT=5580
|
|
|
|
govee2mqtt:
|
|
image: ghcr.io/wez/govee2mqtt:latest
|
|
container_name: govee2mqtt
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- mosquitto
|
|
environment:
|
|
- GOVEE_API_KEY=193f5757-c9c7-44f5-81d9-81ce45093d4f
|
|
- GOVEE_MQTT_HOST=172.16.201.21
|
|
- GOVEE_MQTT_PORT=1883
|
|
- GOVEE_MQTT_USER=connect
|
|
- GOVEE_MQTT_PASSWORD=connect
|
|
volumes:
|
|
- /docker/homeassistant/govee2mqtt:/data
|
|
networks:
|
|
- mqtt_net
|
|
|
|
frigate:
|
|
image: ghcr.io/blakeblackshear/frigate:stable
|
|
container_name: frigate
|
|
restart: unless-stopped
|
|
privileged: true
|
|
shm_size: 512m
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /docker/homeassistant/frigate:/config
|
|
- /mnt/local_configs/frigate/cache:/tmp/cache
|
|
- /pool/securitycameras:/media
|
|
ports:
|
|
- "5000:5000"
|
|
- "1935:1935"
|
|
runtime: nvidia
|
|
environment:
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
- NVIDIA_DRIVER_CAPABILITIES=all
|
|
- FRIGATE_SQLITE_PATH=/config/frigate.db
|
|
- FRIGATE_SQLITE_JOURNAL_MODE=DELETE
|
|
- PUID=1000
|
|
- PGID=1000
|
|
cpus: "2.0"
|
|
mem_limit: "6144m"
|
|
mem_reservation: "2048m"
|
|
|
|
|
|
networks:
|
|
mqtt_net:
|
|
external: true
|