forked from weltenwort/frigate-synology-dsm7
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (23 loc) · 752 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (23 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
frigate:
image: "ghcr.io/weltenwort/frigate-synology-dsm7:v0.11.0-beta5"
privileged: true
hostname: "frigate"
restart: "unless-stopped"
shm_size: "128mb"
devices:
- "/dev/dri/renderD128" # for intel hwaccel
volumes:
- "/dev/bus/usb:/dev/bus/usb"
- "/etc/localtime:/etc/localtime:ro"
- "/volume1/docker/volumes/frigate-0-config/config.yml:/config/config.yml:ro"
- "/volume1/docker/volumes/frigate-0-media:/media/frigate:rw"
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "8001:5000" # web interface
- "1935:1935" # RTMP feeds
env_file:
- "./secrets.env"