restart script
This commit is contained in:
+6
-2
@@ -18,8 +18,8 @@ mqtt:
|
|||||||
enabled: false
|
enabled: false
|
||||||
birdseye:
|
birdseye:
|
||||||
enabled: false
|
enabled: false
|
||||||
auth:
|
#auth:
|
||||||
enabled: false
|
# enabled: false
|
||||||
go2rtc:
|
go2rtc:
|
||||||
streams:
|
streams:
|
||||||
1-1: rtsp://admin:Password~2022@192.168.170.36:554/Streaming/Channels/101
|
1-1: rtsp://admin:Password~2022@192.168.170.36:554/Streaming/Channels/101
|
||||||
@@ -249,6 +249,7 @@ ffmpeg:
|
|||||||
output_args:
|
output_args:
|
||||||
record: preset-record-generic-audio-aac
|
record: preset-record-generic-audio-aac
|
||||||
record:
|
record:
|
||||||
|
sync_recordings: True
|
||||||
enabled: true
|
enabled: true
|
||||||
retain:
|
retain:
|
||||||
days: 14
|
days: 14
|
||||||
@@ -748,6 +749,9 @@ cameras:
|
|||||||
- detect
|
- detect
|
||||||
motion:
|
motion:
|
||||||
mask: 0.166,0.067,0.237,0.066,0.237,0.028,0.166,0.03
|
mask: 0.166,0.067,0.237,0.066,0.237,0.028,0.166,0.03
|
||||||
|
threshold: 40
|
||||||
|
contour_area: 10
|
||||||
|
improve_contrast: true
|
||||||
4-2:
|
4-2:
|
||||||
ffmpeg:
|
ffmpeg:
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Navigate to the directory containing your docker-compose.yml file
|
||||||
|
# Replace /path/to/your/project with the actual path
|
||||||
|
#cd /path/to/your/project
|
||||||
|
|
||||||
|
echo "Bringing down Docker Compose services..."
|
||||||
|
docker compose down
|
||||||
|
|
||||||
|
echo "Bringing up Docker Compose services..."
|
||||||
|
docker compose up -d
|
||||||
|
|
||||||
|
echo "Docker Compose services restarted."
|
||||||
Reference in New Issue
Block a user