Update and rename frigate.yaml to docker-compose.yml

This commit is contained in:
sferguson524 authored and GitHub committed 2024-11-02 13:42:41 -07:00
1 parent 6d7c3d7417
commit c89f2b5ed0
1 file changed
-8
-8
View File
@@ -5,14 +5,6 @@ services:
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: '8g' # Increase shared memory for higher resolution streams
mem_swappiness: 0 mem_swappiness: 0
memswap_limit: 16g
deploy:
resources:
limits:
memory: 14g
cpus: '4.0' # Limit Frigate to use all 4 CPUs
reservations:
cpus: '4.0' # Reserve 4 CPUs for Frigate
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