Add Frigate+ API key to enable image annotation/upload Adjust doorbell motion parameters Adjust detect stationary threshold Enable recording retention for all 3 days and 30 days for motion
54 lines
1.5 KiB
YAML
54 lines
1.5 KiB
YAML
name: frigate
|
|
services:
|
|
app:
|
|
restart: unless-stopped
|
|
#image: ghcr.io/blakeblackshear/frigate:stable
|
|
image: gitea.tremendousturtle.tools/chris/frigate:v0.14.1-web-admin-088ff992
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
shm_size: "250mb"
|
|
devices:
|
|
- /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral
|
|
- /dev/apex_1:/dev/apex_1 # Passes a PCIe Coral
|
|
- /dev/dri/renderD128:/dev/dri/renderD128 # GPU hw accel
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- ./data:/config
|
|
- ./config/config.yaml:/config/config.yaml
|
|
- /media/surveillance:/media/frigate
|
|
- type: tmpfs
|
|
target: /tmp/cache
|
|
tmpfs:
|
|
size: 4000000000
|
|
networks:
|
|
- proxy-net
|
|
ports:
|
|
# - "8971:8971"
|
|
- "8554:8554" # RTSP feeds
|
|
- "8555:8555/tcp" # WebRTC over tcp
|
|
- "8555:8555/udp" # WebRTC over udp
|
|
- "5000:5000" # VS Code schema validation allowed
|
|
expose:
|
|
- "8971"
|
|
secrets:
|
|
- PLUS_API_KEY
|
|
environment:
|
|
LIBVA_DRIVER_NAME: "radeonsi" # FRIGATE_RTSP_PASSWORD: "69$nC*6$jADbc!"
|
|
labels:
|
|
- homepage.group=Utility
|
|
- homepage.name=Frigate
|
|
- homepage.icon=frigate
|
|
- homepage.href=https://frigate.tremendousturtle.tools/
|
|
- homepage.description=Camera Surveillance
|
|
- homepage.widget.type=frigate
|
|
- homepage.widget.url=http://frigate-app-1:5000
|
|
- homepage.widget.enableRecentEvents=true
|
|
|
|
networks:
|
|
proxy-net:
|
|
external: true
|
|
|
|
secrets:
|
|
PLUS_API_KEY:
|
|
file: ./secrets/PLUS_API_KEY |