浏览代码

Update README.md

change tmpfs size from 100MB to 1GB
yllar 4 年之前
父节点
当前提交
19bbfce4ed
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -101,7 +101,7 @@ services:
       - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
         target: /tmp/cache
         tmpfs:
-          size: 100000000
+          size: 1000000000
     ports:
       - "5000:5000"
       - "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 \
 --name frigate \
 --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 <path_to_directory_for_clips>:/media/frigate/clips \
 -v <path_to_directory_for_recordings>:/media/frigate/recordings \