mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-07 00:06:57 +01:00
Update installation.md (#4871)
Mounting the configuration file with the ":ro" flag will prevent users from editing config in new v12.0 UI.
This commit is contained in:
parent
8ac3114f9a
commit
417a42b0b3
@ -38,7 +38,7 @@ services:
|
|||||||
frigate:
|
frigate:
|
||||||
...
|
...
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/your/config.yml:/config/config.yml:ro
|
- /path/to/your/config.yml:/config/config.yml
|
||||||
- /path/to/your/storage:/media/frigate
|
- /path/to/your/storage:/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
|
||||||
@ -55,7 +55,7 @@ services:
|
|||||||
frigate:
|
frigate:
|
||||||
...
|
...
|
||||||
volumes:
|
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/network/storage:/media/frigate
|
||||||
- /path/to/local/disk:/db
|
- /path/to/local/disk:/db
|
||||||
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
|
- 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
|
- /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
|
||||||
- /path/to/your/config.yml:/config/config.yml:ro
|
- /path/to/your/config.yml:/config/config.yml
|
||||||
- /path/to/your/storage:/media/frigate
|
- /path/to/your/storage:/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
|
||||||
@ -135,7 +135,7 @@ docker run -d \
|
|||||||
--device /dev/dri/renderD128 \
|
--device /dev/dri/renderD128 \
|
||||||
--shm-size=64m \
|
--shm-size=64m \
|
||||||
-v /path/to/your/storage:/media/frigate \
|
-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 \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-e FRIGATE_RTSP_PASSWORD='password' \
|
-e FRIGATE_RTSP_PASSWORD='password' \
|
||||||
-p 5000:5000 \
|
-p 5000:5000 \
|
||||||
|
Loading…
Reference in New Issue
Block a user