From 68b1fabff22f2b4d5146efb6bad31090a459aa26 Mon Sep 17 00:00:00 2001 From: djaydev <33335484+djaydev@users.noreply.github.com> Date: Fri, 20 Nov 2020 13:15:55 -0500 Subject: [PATCH] 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. --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af6aa219a..0ee0cddbc 100644 --- a/README.md +++ b/README.md @@ -91,12 +91,20 @@ If you can't use docker compose, you can run the container with: ```bash docker run --rm \ --name frigate \ +--restart unless-stopped \ --privileged \ -v /dev/bus/usb:/dev/bus/usb \ --v :/config:ro \ -v /etc/localtime:/etc/localtime:ro \ +-v :/config \ +-v :/clips \ +--mount type=tmpfs,target=/cache,tmpfs-size=100000000 \ -p 5000:5000 \ -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 ```