remove nginx, serve ui from api itself

This commit is contained in:
pratik
2025-10-15 14:22:44 -05:00
parent d3a14a2b31
commit 4a84c08a2b
7 changed files with 91 additions and 45 deletions

View File

@@ -71,13 +71,13 @@ if ($Rebuild) {
if ($ComposeCmd -eq "docker compose") {
& docker compose down
Write-Host "Removing existing images for rebuild..." -ForegroundColor White
& docker compose down --rmi local 2>$null
& docker compose down --rmi local
Write-Host "Building and starting all services..." -ForegroundColor White
& docker compose up -d --build
} else {
& docker-compose down
Write-Host "Removing existing images for rebuild..." -ForegroundColor White
& docker-compose down --rmi local 2>$null
& docker-compose down --rmi local
Write-Host "Building and starting all services..." -ForegroundColor White
& docker-compose up -d --build
}
@@ -99,8 +99,7 @@ Write-Host "=========================================" -ForegroundColor Cyan
Write-Host "Complete Stack is running!" -ForegroundColor Green
Write-Host "=========================================" -ForegroundColor Cyan
Write-Host ""
Write-Host "Frontend: http://localhost:4200" -ForegroundColor White
Write-Host "API: http://localhost:8000" -ForegroundColor White
Write-Host "Application: http://localhost:8000" -ForegroundColor White
Write-Host "API Docs: http://localhost:8000/docs" -ForegroundColor White
Write-Host "MinIO Console: http://localhost:9001" -ForegroundColor White
Write-Host " Username: minioadmin" -ForegroundColor Gray
@@ -145,5 +144,5 @@ catch {
Write-Host ""
Write-Host "=========================================" -ForegroundColor Cyan
Write-Host "Setup complete!" -ForegroundColor Green
Write-Host "Open http://localhost:4200 in your browser" -ForegroundColor Yellow
Write-Host "Open http://localhost:8000 in your browser" -ForegroundColor Yellow
Write-Host "=========================================" -ForegroundColor Cyan