# Start Postgres + Redis in Docker, API + Dashboard on the host (no MCR image pull). # Use when: docker build fails on mcr.microsoft.com / dotnet base images. $ErrorActionPreference = "Stop" $Root = Split-Path -Parent $PSScriptRoot Write-Host "Starting Postgres + Redis..." -ForegroundColor Cyan Push-Location $Root docker compose up -d postgres redis if ($LASTEXITCODE -ne 0) { Pop-Location; exit $LASTEXITCODE } Pop-Location Write-Host "" Write-Host "Infra ready. In two terminals run:" -ForegroundColor Green Write-Host " API: cd src/Meezi.API; `$env:RUN_MIGRATIONS='true'; dotnet run" Write-Host " Dashboard: cd web/dashboard; npm run dev" Write-Host "" Write-Host " Login: http://localhost:3101/fa/login (demo OTP: 09121234567)" Write-Host " API: http://localhost:5080/swagger"