forked from blakeblackshear/frigate-hass-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (37 loc) · 1.18 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
version: "3"
services:
dev:
build: .devcontainer
user: vscode
init: true
env_file:
- .env
volumes:
- /var/run/docker.sock:/var/run/docker-host.sock
- .:${LOCAL_WORKSPACE_FOLDER}:cached
hass:
image: "homeassistant/home-assistant:${HA_VERSION:-latest}"
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- .devcontainer/preconfig.sh:/etc/cont-init.d/preconfig.sh:ro
- .devcontainer/preconfig:/preconfig.d/01-integration:ro
- .devcontainer/config/configuration.yaml:/config/configuration.yaml:ro
- .devcontainer/config/specific_configuration.yaml:/config/specific_configuration.yaml:ro
- .devcontainer/config/www:/config/www
- ./custom_components:/config/custom_components:ro
frigate:
privileged: true
image: "ghcr.io/blakeblackshear/frigate:${FRIGATE_VERSION:-0.12.0-rc1}"
restart: unless-stopped
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/dri:/dev/dri
volumes:
- /etc/localtime:/etc/localtime:ro
- .devcontainer/frigate.yml:/config/config.yml:ro
- ./frigate:/media/frigate
mqtt:
image: eclipse-mosquitto:1.6
restart: unless-stopped