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:
djaydev 2020-11-20 13:15:55 -05:00 committed by GitHub
parent a1cc9ad1f0
commit 68b1fabff2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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