Advertisement
Guest User

Untitled

a guest
May 19th, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. services:
  2. frigate:
  3. container_name: frigate
  4. privileged: true # this may not be necessary for all setups
  5. #restart: unless-stopped
  6. stop_grace_period: 30s # allow enough time to shut down the various services
  7. image: ghcr.io/blakeblackshear/frigate:0.15.1
  8. shm_size: "512mb" # update for your cameras based on calculation above
  9. devices:
  10. - /dev/bus/usb:/dev/bus/usb # Passes the USB Coral, needs to be modified for other versions
  11. - /dev/apex_0:/dev/apex_0 # Passes a PCIe Coral, follow driver instructions here https://coral.ai/docs/m2/get-started/#2a-on-linux
  12. - /dev/video11:/dev/video11 # For Raspberry Pi 4B
  13. - /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
  14. volumes:
  15. - /etc/localtime:/etc/localtime:ro
  16. - /home/antonio/frigate/config:/config
  17. - /mnt/synology:/media/frigate
  18. - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
  19. target: /tmp/cache
  20. tmpfs:
  21. size: 1000000000
  22. ports:
  23. - "8971:8971"
  24. - "5000:5000" # Internal unauthenticated access. Expose carefully.
  25. - "8554:8554" # RTSP feeds
  26. - "8555:8555/tcp" # WebRTC over tcp
  27. - "8555:8555/udp" # WebRTC over udp
  28. environment:
  29. FRIGATE_RTSP_PASSWORD: "letmein123"
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement