mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-01 16:55:21 +03:00
Add ability to restart
This commit is contained in:
parent
221b4960dc
commit
db86b5f17c
@ -46,7 +46,6 @@ 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
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro # for Frigate restart with docker command
|
|
||||||
- <path_to_config_file>:/config/config.yml:ro
|
- <path_to_config_file>:/config/config.yml:ro
|
||||||
- <path_to_directory_for_media>:/media/frigate
|
- <path_to_directory_for_media>:/media/frigate
|
||||||
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
|
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
|
||||||
@ -72,7 +71,6 @@ docker run -d \
|
|||||||
-v <path_to_directory_for_media>:/media/frigate \
|
-v <path_to_directory_for_media>:/media/frigate \
|
||||||
-v <path_to_config_file>:/config/config.yml:ro \
|
-v <path_to_config_file>:/config/config.yml:ro \
|
||||||
-v /etc/localtime:/etc/localtime:ro \
|
-v /etc/localtime:/etc/localtime:ro \
|
||||||
-v /var/run/docker.sock:/var/run/docker.sock:ro \
|
|
||||||
-e FRIGATE_RTSP_PASSWORD='password' \
|
-e FRIGATE_RTSP_PASSWORD='password' \
|
||||||
-p 5000:5000 \
|
-p 5000:5000 \
|
||||||
-p 1935:1935 \
|
-p 1935:1935 \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user