-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (41 loc) · 1.59 KB
/
docker-compose.yml
File metadata and controls
41 lines (41 loc) · 1.59 KB
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
39
40
41
---
services:
devcontainer:
build:
context: .
dockerfile: .devcontainer/Dockerfile
init: true
env_file:
- .env
volumes:
- /var/run/docker.sock:/var/run/docker-host.sock
- .:${LOCAL_WORKSPACE_FOLDER}:cached
homeassistant:
image: "homeassistant/home-assistant:${HA_VERSION:-latest}"
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- .devcontainer/scripts/homeassistant_preconfig.sh:/etc/cont-init.d/preconfig.sh:ro
- .devcontainer/homeassistant_preconfig:/preconfig.d/01-integration:ro
# Avoid mounting the entire config directory so that data is not persisted
- .devcontainer/homeassistant_config/configuration.yaml:/config/configuration.yaml:ro
- .devcontainer/homeassistant_config/specific_configuration.yaml:/config/specific_configuration.yaml:ro
- .devcontainer/homeassistant_config/www:/config/www # For Downloader
- ./custom_components:/config/custom_components:ro
frigate:
privileged: true
image: "ghcr.io/blakeblackshear/frigate:${FRIGATE_VERSION:-stable}"
restart: unless-stopped
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/dri:/dev/dri
volumes:
- /etc/localtime:/etc/localtime:ro
- .devcontainer/frigate_media:/media/frigate
# Avoid mounting the entire config directory so that data is not persisted
- .devcontainer/frigate_config/config.yml:/config/config.yml:ro
mqtt:
image: eclipse-mosquitto:2
restart: unless-stopped
volumes:
- .devcontainer/mosquitto_config/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro