init frigate docker
This commit is contained in:
27
frigate/docker-compose.yml
Normal file
27
frigate/docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
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!"
|
||||
Reference in New Issue
Block a user