mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Update README.md
change tmpfs size from 100MB to 1GB
This commit is contained in:
parent
b0b2d9d972
commit
19bbfce4ed
@ -101,7 +101,7 @@ services:
|
|||||||
- 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:
|
||||||
size: 100000000
|
size: 1000000000
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
- "1935:1935" # RTMP feeds
|
- "1935:1935" # RTMP feeds
|
||||||
@ -114,7 +114,7 @@ If you can't use docker compose, you can run the container with something simila
|
|||||||
docker run --rm \
|
docker run --rm \
|
||||||
--name frigate \
|
--name frigate \
|
||||||
--privileged \
|
--privileged \
|
||||||
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=100000000 \
|
--mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 \
|
||||||
-v /dev/bus/usb:/dev/bus/usb \
|
-v /dev/bus/usb:/dev/bus/usb \
|
||||||
-v <path_to_directory_for_clips>:/media/frigate/clips \
|
-v <path_to_directory_for_clips>:/media/frigate/clips \
|
||||||
-v <path_to_directory_for_recordings>:/media/frigate/recordings \
|
-v <path_to_directory_for_recordings>:/media/frigate/recordings \
|
||||||
|
Loading…
Reference in New Issue
Block a user