@echo off setlocal cd /d "%~dp0\.." if "%API_REPLICAS%"=="" set API_REPLICAS=2 python scripts\init_secrets.py if errorlevel 1 exit /b 1 docker compose --env-file .env config --quiet if errorlevel 1 exit /b 1 docker compose --env-file .env up -d --build --scale api=%API_REPLICAS% if errorlevel 1 exit /b 1 echo stack up: api scale=%API_REPLICAS%, entry http://127.0.0.1:8080 exit /b 0