73 lines
1.7 KiB
YAML
73 lines
1.7 KiB
YAML
services:
|
|
homeassistant:
|
|
container_name: homeassistant
|
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
|
restart: unless-stopped
|
|
privileged: true
|
|
ports:
|
|
- "8123:8123"
|
|
environment:
|
|
- TZ=Europe/Samara
|
|
volumes:
|
|
- /opt/docker/homeassistant/config:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /run/dbus:/run/dbus:ro
|
|
networks:
|
|
- local-00
|
|
|
|
mosquitto:
|
|
container_name: mosquitto
|
|
image: eclipse-mosquitto
|
|
restart: unless-stopped
|
|
ports:
|
|
- "1883:1883/tcp"
|
|
environment:
|
|
- TZ=Europe/Samara
|
|
volumes:
|
|
- /config/mosquitto/config:/mosquitto/config
|
|
- /config/mosquitto/data:/mosquitto/data
|
|
- /config/mosquitto/log:/mosquitto/log
|
|
stdin_open: true
|
|
tty: true
|
|
networks:
|
|
- local-00
|
|
|
|
hass-configurator:
|
|
container_name: hassconf
|
|
image: causticlab/hass-configurator-docker
|
|
restart: unless-stopped
|
|
environment:
|
|
- HC_BASEPATH=/hass-config
|
|
- DIRSFIRST=true
|
|
ports:
|
|
- "3218:3218/tcp"
|
|
volumes:
|
|
- /opt/docker/homeassistant/fileeditor:/config
|
|
- /opt/docker/homeassistant/data:/hass-config
|
|
networks:
|
|
- local-00
|
|
|
|
frigate:
|
|
container_name: frigate
|
|
restart: unless-stopped
|
|
stop_grace_period: 30s
|
|
image: "ghcr.io/blakeblackshear/frigate:stable"
|
|
volumes:
|
|
- /opt/docker/frigate/config:/config
|
|
- /opt/docker/frigate/storage:/media/frigate
|
|
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
|
|
target: /tmp/cache
|
|
tmpfs:
|
|
size: 1000000000
|
|
ports:
|
|
- "8971:8971"
|
|
- "8554:8554" # RTSP feeds
|
|
- "5000:5000"
|
|
networks:
|
|
- local-00
|
|
|
|
networks:
|
|
local-00:
|
|
name: local-00
|
|
driver: bridge
|