diff --git a/quickstart.bat b/quickstart.bat index ee4953b..abdae8d 100644 --- a/quickstart.bat +++ b/quickstart.bat @@ -41,8 +41,8 @@ if not exist .env ( ) echo. -echo Starting services with Docker Compose... -%COMPOSE_CMD% up -d +echo Building and starting services with Docker Compose... +%COMPOSE_CMD% up -d --build if %errorlevel% neq 0 ( echo. diff --git a/quickstart.ps1 b/quickstart.ps1 index 797cf18..490a2c5 100644 --- a/quickstart.ps1 +++ b/quickstart.ps1 @@ -46,13 +46,13 @@ if (-Not (Test-Path ".env")) { } Write-Host "" -Write-Host "Starting services with Docker Compose..." -ForegroundColor Yellow +Write-Host "Building and starting services with Docker Compose..." -ForegroundColor Yellow -# Start services +# Start services with rebuild if ($composeCmd -eq "docker-compose") { - docker-compose up -d + docker-compose up -d --build } else { - docker compose up -d + docker compose up -d --build } if ($LASTEXITCODE -ne 0) { diff --git a/quickstart.sh b/quickstart.sh index a7e93ee..a0fed12 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -29,8 +29,8 @@ else fi echo "" -echo "Starting services with Docker Compose..." -docker-compose up -d +echo "Building and starting services with Docker Compose..." +docker-compose up -d --build echo "" echo "Waiting for services to be ready..."