-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathdocker-compose.frigate.yml
More file actions
55 lines (53 loc) · 1.86 KB
/
Copy pathdocker-compose.frigate.yml
File metadata and controls
55 lines (53 loc) · 1.86 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
43
44
45
46
47
48
49
50
51
52
53
54
55
# Strix + Frigate
# Usage:
# curl -O https://raw.githubusercontent.com/eduard256/Strix/main/docker-compose.frigate.yml
# mkdir -p frigate/config frigate/storage
# docker compose -f docker-compose.frigate.yml up -d
#
# Strix UI: http://YOUR_IP:4567
# Frigate UI: http://YOUR_IP:8971
# Frigate API: http://YOUR_IP:5000 (internal, no auth)
# go2rtc UI: http://YOUR_IP:1984 (built into Frigate)
# RTSP restream: rtsp://YOUR_IP:8554
services:
strix:
container_name: strix
image: eduard256/strix:latest
network_mode: host
restart: unless-stopped
environment:
STRIX_LISTEN: ":4567"
STRIX_FRIGATE_URL: "http://localhost:5000"
# STRIX_GO2RTC_URL: "http://localhost:1984"
# STRIX_LOG_LEVEL: debug
depends_on:
frigate:
condition: service_started
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable
privileged: true
network_mode: host
restart: unless-stopped
stop_grace_period: 30s
shm_size: "512mb"
# Uncomment devices for your hardware:
# devices:
# - /dev/bus/usb:/dev/bus/usb # USB Coral
# - /dev/apex_0:/dev/apex_0 # PCIe Coral
# - /dev/dri:/dev/dri # Intel/AMD GPU
# - /dev/accel:/dev/accel # Intel NPU
# - /dev/video11:/dev/video11 # Raspberry Pi 4
# For Nvidia GPU use image: ghcr.io/blakeblackshear/frigate:stable-tensorrt
# For AMD GPU use image: ghcr.io/blakeblackshear/frigate:stable-rocm
# For Rockchip use image: ghcr.io/blakeblackshear/frigate:stable-rk
volumes:
- /etc/localtime:/etc/localtime:ro
- ./frigate/config:/config
- ./frigate/storage:/media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
environment:
FRIGATE_RTSP_PASSWORD: "password"