Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DOCKER COMPOSE
- GNU nano 6.2 docker-compose.yml
- version: '3.9'
- services:
- frigate:
- container_name: frigate
- restart: unless-stopped
- privileged: true
- image: ghcr.io/blakeblackshear/frigate:stable
- shm_size: '2000mb'
- volumes:
- - ./config:/config
- - /mnt/frigate-data:/media/frigate/data
- - /mnt/frigate-clips:/media/frigate/clips
- - /mnt/frigate-recordings:/media/frigate/recordings
- ports:
- - "5000:5000"
- - "8554:8554" # RTSP
- - "8555:8555/tcp" # WebRTC
- environment:
- FRIGATE_RTSP_PASSWORD: "mypassword"
- CONFIG:
- mqtt: {}
- detectors:
- coral:
- type: edgetpu
- device: pci
- record:
- enabled: true
- retain:
- days: 14
- snapshots:
- enabled: true
- retain:
- default: 14
- cameras:
- backyard:
- ffmpeg:
- inputs:
- - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
- input_args:
- - -rtsp_transport
- - tcp
- roles:
- - detect
- - path: rtsp://admin:[email protected]:554/h264Preview_01_main
- input_args:
- - -rtsp_transport
- - tcp
- roles:
- - record
- detect:
- enabled: true
- record:
- enabled: true
- snapshots:
- enabled: true
- front:
- ffmpeg:
- inputs:
- - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
- input_args: [-rtsp_transport, tcp]
- roles: [detect]
- - path: rtsp://admin:[email protected]:554/h264Preview_01_main
- driveway:
- ffmpeg:
- inputs:
- - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
- input_args: [-rtsp_transport, tcp]
- roles: [detect]
- - path: rtsp://admin:[email protected]:554/h264Preview_01_main
- input_args: [-rtsp_transport, tcp]
- roles: [record]
- detect: {enabled: true}
- record: {enabled: true}
- snapshots: {enabled: true}
- frontyard:
- ffmpeg:
- inputs:
- - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
- input_args: [-rtsp_transport, tcp]
- roles: [detect]
- - path: rtsp://admin:[email protected]:554/h264Preview_01_main
- input_args: [-rtsp_transport, tcp]
- roles: [record]
- detect: {enabled: true}
- record: {enabled: true}
- snapshots: {enabled: true}
- garage:
- ffmpeg:
- inputs:
- - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
- input_args: [-rtsp_transport, tcp]
- roles: [detect]
- - path: rtsp://admin:[email protected]:554/h264Preview_01_main
- input_args: [-rtsp_transport, tcp]
- roles: [record]
- detect: {enabled: true}
- record: {enabled: true}
- snapshots: {enabled: true}
- database:
- path: /media/frigate/frigate.db
- version: 0.15-1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement