mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-31 08:22:20 +03:00
Update README.md
The examples under the Docker section have very different options listed between docker compose and docker run. This change brings them closer together.
This commit is contained in:
parent
a1cc9ad1f0
commit
68b1fabff2
10
README.md
10
README.md
@ -91,12 +91,20 @@ If you can't use docker compose, you can run the container with:
|
|||||||
```bash
|
```bash
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
--name frigate \
|
--name frigate \
|
||||||
|
--restart unless-stopped \
|
||||||
--privileged \
|
--privileged \
|
||||||
-v /dev/bus/usb:/dev/bus/usb \
|
-v /dev/bus/usb:/dev/bus/usb \
|
||||||
-v <path_to_config_dir>:/config:ro \
|
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
|
-v <path_to_config_dir>:/config \
|
||||||
|
-v <path_to_directory_for_clips>:/clips \
|
||||||
|
--mount type=tmpfs,target=/cache,tmpfs-size=100000000 \
|
||||||
-p 5000:5000 \
|
-p 5000:5000 \
|
||||||
-e FRIGATE_RTSP_PASSWORD='password' \
|
-e FRIGATE_RTSP_PASSWORD='password' \
|
||||||
|
--health-cmd='wget -q -O- http://localhost:5000' \
|
||||||
|
--health-interval=30s \
|
||||||
|
--health-timeout=10s \
|
||||||
|
--health-retries=5 \
|
||||||
|
--health-start_period=3m \
|
||||||
blakeblackshear/frigate:stable-amd64
|
blakeblackshear/frigate:stable-amd64
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user