This commit is contained in:
pampixz
2026-11-12 14:37:43 +03:00
parent ec540a1a72
commit 6a7f4ec7d4
17 changed files with 749 additions and 24 deletions
+18
View File
@@ -0,0 +1,18 @@
@echo off
cd /d "%~dp0.."
echo Restarting PostgreSQL and S3...
docker compose --env-file .env restart postgres s3
if errorlevel 1 exit /b 1
echo Waiting for storage...
timeout /t 12 /nobreak >nul
echo Restarting API replicas and load balancer...
docker compose --env-file .env restart api1 api2 lb
if errorlevel 1 exit /b 1
echo Waiting for API...
timeout /t 5 /nobreak >nul
exit /b 0