Mise à jour de 'docker-compose.yml'

This commit is contained in:
adminbruno committed 2024-03-15 15:23:54 -04:00
1 parent 10d6b6f994
commit 9875b3b731
1 file changed
+3 -3
+3 -3
View File
@@ -3,7 +3,7 @@ services:
frigate:
container_name: frigate
privileged: true # this may not be necessary for all setups
restart: unless-stopped
restart: always
image: ghcr.io/blakeblackshear/frigate:stable
shm_size: "1024mb" # update for your cameras based on calculation above
devices:
@@ -13,8 +13,8 @@ services:
- /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- /media/frigate/config:/config
- /media/frigate/media:/media/frigate
- /media/storage/frigate/config:/config
- /media/storage/frigate/media:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs: