Mise à jour de 'docker-compose.yml'
This commit is contained in:
1 parent
10d6b6f994
commit
9875b3b731
1 file changed
+3
-3
+3
-3
@@ -3,7 +3,7 @@ services:
|
|||||||
frigate:
|
frigate:
|
||||||
container_name: frigate
|
container_name: frigate
|
||||||
privileged: true # this may not be necessary for all setups
|
privileged: true # this may not be necessary for all setups
|
||||||
restart: unless-stopped
|
restart: always
|
||||||
image: ghcr.io/blakeblackshear/frigate:stable
|
image: ghcr.io/blakeblackshear/frigate:stable
|
||||||
shm_size: "1024mb" # update for your cameras based on calculation above
|
shm_size: "1024mb" # update for your cameras based on calculation above
|
||||||
devices:
|
devices:
|
||||||
@@ -13,8 +13,8 @@ services:
|
|||||||
- /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
|
- /dev/dri/renderD128:/dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /media/frigate/config:/config
|
- /media/storage/frigate/config:/config
|
||||||
- /media/frigate/media:/media/frigate
|
- /media/storage/frigate/media:/media/frigate
|
||||||
- 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:
|
||||||
|
|||||||
Reference in new issue
Block a user