Advertisement
boganslayer

FRIGATE DOCKER COMPOSE AND CONFIG

Jul 16th, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | Software | 0 0
  1. DOCKER COMPOSE
  2. GNU nano 6.2 docker-compose.yml
  3. version: '3.9'
  4. services:
  5. frigate:
  6. container_name: frigate
  7. restart: unless-stopped
  8. privileged: true
  9. image: ghcr.io/blakeblackshear/frigate:stable
  10. shm_size: '2000mb'
  11. volumes:
  12. - ./config:/config
  13. - /mnt/frigate-data:/media/frigate/data
  14. - /mnt/frigate-clips:/media/frigate/clips
  15. - /mnt/frigate-recordings:/media/frigate/recordings
  16. ports:
  17. - "5000:5000"
  18. - "8554:8554" # RTSP
  19. - "8555:8555/tcp" # WebRTC
  20. environment:
  21. FRIGATE_RTSP_PASSWORD: "mypassword"
  22.  
  23.  
  24.  
  25. CONFIG:
  26. mqtt: {}
  27.  
  28. detectors:
  29. coral:
  30. type: edgetpu
  31. device: pci
  32.  
  33. record:
  34. enabled: true
  35. retain:
  36. days: 14
  37.  
  38. snapshots:
  39. enabled: true
  40. retain:
  41. default: 14
  42.  
  43. cameras:
  44. backyard:
  45. ffmpeg:
  46. inputs:
  47. - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
  48. input_args:
  49. - -rtsp_transport
  50. - tcp
  51. roles:
  52. - detect
  53. - path: rtsp://admin:[email protected]:554/h264Preview_01_main
  54. input_args:
  55. - -rtsp_transport
  56. - tcp
  57. roles:
  58. - record
  59. detect:
  60. enabled: true
  61. record:
  62. enabled: true
  63. snapshots:
  64. enabled: true
  65.  
  66. front:
  67. ffmpeg:
  68. inputs:
  69. - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
  70. input_args: [-rtsp_transport, tcp]
  71. roles: [detect]
  72. - path: rtsp://admin:[email protected]:554/h264Preview_01_main
  73.  
  74. driveway:
  75. ffmpeg:
  76. inputs:
  77. - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
  78. input_args: [-rtsp_transport, tcp]
  79. roles: [detect]
  80. - path: rtsp://admin:[email protected]:554/h264Preview_01_main
  81. input_args: [-rtsp_transport, tcp]
  82. roles: [record]
  83. detect: {enabled: true}
  84. record: {enabled: true}
  85. snapshots: {enabled: true}
  86.  
  87. frontyard:
  88. ffmpeg:
  89. inputs:
  90. - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
  91. input_args: [-rtsp_transport, tcp]
  92. roles: [detect]
  93. - path: rtsp://admin:[email protected]:554/h264Preview_01_main
  94. input_args: [-rtsp_transport, tcp]
  95. roles: [record]
  96. detect: {enabled: true}
  97. record: {enabled: true}
  98. snapshots: {enabled: true}
  99.  
  100. garage:
  101. ffmpeg:
  102. inputs:
  103. - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
  104. input_args: [-rtsp_transport, tcp]
  105. roles: [detect]
  106. - path: rtsp://admin:[email protected]:554/h264Preview_01_main
  107. input_args: [-rtsp_transport, tcp]
  108. roles: [record]
  109. detect: {enabled: true}
  110. record: {enabled: true}
  111. snapshots: {enabled: true}
  112.  
  113. database:
  114. path: /media/frigate/frigate.db
  115. version: 0.15-1
  116.  
Tags: Frigate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement