@echo off
cd /d "%~dp0"

echo === KeinaSystem 開発環境起動 ===

echo [1/3] docker compose down...
docker compose -f docker-compose.develop.yml down

echo [2/3] docker compose build...
docker compose -f docker-compose.develop.yml build

echo [3/3] docker compose up -d...
docker compose -f docker-compose.develop.yml up -d

echo.
echo === 開発環境起動完了 ===
docker compose -f docker-compose.develop.yml ps
echo.
echo Frontend: http://localhost:3000
echo Backend:  http://localhost:8000
