restart script
This commit is contained in:
+6
-2
@@ -18,8 +18,8 @@ mqtt:
|
||||
enabled: false
|
||||
birdseye:
|
||||
enabled: false
|
||||
auth:
|
||||
enabled: false
|
||||
#auth:
|
||||
# enabled: false
|
||||
go2rtc:
|
||||
streams:
|
||||
1-1: rtsp://admin:Password~2022@192.168.170.36:554/Streaming/Channels/101
|
||||
@@ -249,6 +249,7 @@ ffmpeg:
|
||||
output_args:
|
||||
record: preset-record-generic-audio-aac
|
||||
record:
|
||||
sync_recordings: True
|
||||
enabled: true
|
||||
retain:
|
||||
days: 14
|
||||
@@ -748,6 +749,9 @@ cameras:
|
||||
- detect
|
||||
motion:
|
||||
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:
|
||||
ffmpeg:
|
||||
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