restart script

This commit is contained in:
igp
2025-11-27 14:09:52 +03:00
parent 12d2d07d1f
commit 8885cdca38
2 changed files with 19 additions and 2 deletions
+6 -2
View File
@@ -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
View File
@@ -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."