updating compose example to reduce confusion

This commit is contained in:
Blake Blackshear 2020-12-10 19:02:08 -06:00
parent d0470fffcc
commit d5e3b59245

View File

@ -79,11 +79,13 @@ Make sure you choose the right image for your architecture:
It is recommended to run with docker-compose: It is recommended to run with docker-compose:
```yaml ```yaml
version: "3.6"
services:
frigate: frigate:
container_name: frigate container_name: frigate
restart: unless-stopped restart: unless-stopped
privileged: true privileged: true
image: blakeblackshear/frigate:stable-amd64 image: blakeblackshear/frigate:0.8.0-beta1-amd64
volumes: volumes:
- /dev/bus/usb:/dev/bus/usb - /dev/bus/usb:/dev/bus/usb
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
@ -99,12 +101,6 @@ It is recommended to run with docker-compose:
- "1935:1935" # RTMP feeds - "1935:1935" # RTMP feeds
environment: environment:
FRIGATE_RTSP_PASSWORD: "password" FRIGATE_RTSP_PASSWORD: "password"
healthcheck:
test: ["CMD", "wget" , "-q", "-O-", "http://localhost:5000"]
interval: 30s
timeout: 10s
retries: 5
start_period: 3m
``` ```
If you can't use docker compose, you can run the container with something similar to this: If you can't use docker compose, you can run the container with something similar to this: