@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