Compare commits

..
4 Commits
+5 -2
View File
@@ -8,15 +8,18 @@ services:
- PLUS_API_KEY=edbbadc2-b064-4959-b655-b64b8e0c8912:42886a61c5546c354561adf197512fc53fab8347 - PLUS_API_KEY=edbbadc2-b064-4959-b655-b64b8e0c8912:42886a61c5546c354561adf197512fc53fab8347
container_name: frigate container_name: frigate
network_mode: host network_mode: host
image: ghcr.io/blakeblackshear/frigate:0.16.2 image: ghcr.io/blakeblackshear/frigate:0.17.0-rc1
privileged: true # Required for accessing hardware, such as USB Coral TPU (if needed) privileged: true # Required for accessing hardware, such as USB Coral TPU (if needed)
shm_size: '8g' # Increase shared memory for higher resolution streams shm_size: '16g' # Increase shared memory for higher resolution streams
mem_swappiness: 0 mem_swappiness: 0
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /usr/docker/frigate/config:/config # Path for Frigate config - /usr/docker/frigate/config:/config # Path for Frigate config
- /media/frigate:/media/frigate # Path for saving recordings - /media/frigate:/media/frigate # Path for saving recordings
- /etc/localtime:/etc/localtime:ro # Sync host time with container - /etc/localtime:/etc/localtime:ro # Sync host time with container
- /opt/frigate-plugins/edgetpu_tfl.py:/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py:ro
- /opt/frigate-plugins/labels-coco17.txt:/opt/frigate/models/labels-coco17.txt:ro
- /opt/frigate-plugins/yolov9-s-relu6-best_320_int8_edgetpu.tflite:/opt/frigate/models/yolov9-s-relu6-best_320_int8_edgetpu.tflite:ro
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache target: /tmp/cache
tmpfs: tmpfs: