image: tag: "0.12.0-tensorrt" envFromSecrets: - mqtt-broker - rtsp-secret config: | ffmpeg: hwaccel_args: preset-nvidia-h264 mqtt: enabled: True user: "{FRIGATE_MQTT_USER}" password: "{FRIGATE_MQTT_PASSWORD}" port: 1883 host: 172.16.17.83 record: enabled: True events: retain: default: 10 retain: days: 7 mode: motion cameras: cammy: # <------ Name the camera ffmpeg: inputs: - path: "rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@172.28.2.2:554" roles: - record - path: "rtsp://{FRIGATE_RTSP_USER}:{FRIGATE_RTSP_PASSWORD}@172.28.2.2:554/cam/realmonitor?channel=1&subtype=0" roles: - detect detect: enabled: False # <---- disable detection until you have a working camera feed width: 640 # <---- update for your camera's resolution height: 480 # <---- update for your camera's resolution detectors: tensorrt: type: tensorrt device: 0 #This is the default, select the first GPU model: path: /trt-models/yolov7-640.trt input_tensor: nchw input_pixel_format: rgb width: 640 height: 640 service: type: ClusterIP nodeSelector: nvidia.com/gpu.family: pascal gpu: nvidia: enabled: true runtimeClassName: nvidia ingress: enabled: false hosts: - host: frigate.strudelline.net paths: - / extraVolumeMounts: - name: trt-models mountPath: /trt-models - name: data mountPath: /media subPath: media - name: cctv-synology mountPath: /media/frigate/clips subPath: clips - name: cctv-synology mountPath: /media/frigate/recordings subPath: recordings extraVolumes: - name: trt-models persistentVolumeClaim: claimName: trt-models - name: cctv-synology nfs: server: 172.16.18.1 path: /volume1/cctv/frigate persistence: data: enabled: true skipuninstall: true size: 100Gi