-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathdocker-compose.frigate.yml
More file actions
42 lines (40 loc) · 1.1 KB
/
docker-compose.frigate.yml
File metadata and controls
42 lines (40 loc) · 1.1 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
42
# Strix + Frigate
# Usage: docker compose -f docker-compose.frigate.yml up -d
services:
strix:
container_name: strix
image: eduard256/strix:latest
network_mode: host
restart: unless-stopped
environment:
STRIX_LISTEN: ":4567"
STRIX_FRIGATE_URL: "http://localhost:8971"
# STRIX_LOG_LEVEL: debug
depends_on:
- frigate
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable
privileged: true
restart: unless-stopped
stop_grace_period: 30s
shm_size: "512mb"
# devices:
# - /dev/bus/usb:/dev/bus/usb # USB Coral
# - /dev/apex_0:/dev/apex_0 # PCIe Coral
# - /dev/dri/renderD128:/dev/dri/renderD128 # Intel/AMD GPU
volumes:
- /etc/localtime:/etc/localtime:ro
- ./frigate/config:/config
- ./frigate/storage:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8971:8971"
- "8554:8554"
- "8555:8555/tcp"
- "8555:8555/udp"
environment:
FRIGATE_RTSP_PASSWORD: "password"