Merge pull request #1 from AML225/AML225-patch-1

Update installation.md
This commit is contained in:
AML225 2023-01-03 09:03:01 -08:00 committed by GitHub
commit 83aa8b671f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \