@echo off setlocal cd /d "%~dp0.." rem Preserve PostgreSQL named volume, tokens and secrets. docker compose --env-file .env restart -t 5 db s3 api1 api2 if errorlevel 1 exit /b 1 docker compose --env-file .env up -d --no-deps --wait --wait-timeout 55 api1 api2 if errorlevel 1 exit /b 1 docker compose --env-file .env restart -t 5 lb exit /b %ERRORLEVEL%