37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
services:
|
|
frigate:
|
|
container_name: frigate
|
|
restart: unless-stopped
|
|
image: ghcr.io/blakeblackshear/frigate:stable
|
|
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
|
|
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
|
|
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://192.168.1.234:5000
|
|
- homepage.widget.enableRecentEvents=true
|