From 417a42b0b35cf3d9eed97cade2d3d2d64113b428 Mon Sep 17 00:00:00 2001 From: AML225 <37520295+AML225@users.noreply.github.com> Date: Fri, 6 Jan 2023 05:03:48 -0800 Subject: [PATCH] Update installation.md (#4871) Mounting the configuration file with the ":ro" flag will prevent users from editing config in new v12.0 UI. --- docs/docs/frigate/installation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/frigate/installation.md b/docs/docs/frigate/installation.md index 7935f82f8..2c0ef15f7 100644 --- a/docs/docs/frigate/installation.md +++ b/docs/docs/frigate/installation.md @@ -38,7 +38,7 @@ services: frigate: ... volumes: - - /path/to/your/config.yml:/config/config.yml:ro + - /path/to/your/config.yml:/config/config.yml - /path/to/your/storage:/media/frigate - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear target: /tmp/cache @@ -55,7 +55,7 @@ services: frigate: ... volumes: - - /path/to/your/config.yml:/config/config.yml:ro + - /path/to/your/config.yml:/config/config.yml - /path/to/network/storage:/media/frigate - /path/to/local/disk:/db - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear @@ -111,7 +111,7 @@ services: - /dev/dri/renderD128 # for intel hwaccel, needs to be updated for your hardware volumes: - /etc/localtime:/etc/localtime:ro - - /path/to/your/config.yml:/config/config.yml:ro + - /path/to/your/config.yml:/config/config.yml - /path/to/your/storage:/media/frigate - type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear target: /tmp/cache @@ -135,7 +135,7 @@ docker run -d \ --device /dev/dri/renderD128 \ --shm-size=64m \ -v /path/to/your/storage:/media/frigate \ - -v /path/to/your/config.yml:/config/config.yml:ro \ + -v /path/to/your/config.yml:/config/config.yml \ -v /etc/localtime:/etc/localtime:ro \ -e FRIGATE_RTSP_PASSWORD='password' \ -p 5000:5000 \