This commit is contained in:
@@ -225,7 +225,7 @@ function Invoke-Cleanup {
|
||||
# docker-compose で起動
|
||||
function Start-Compose {
|
||||
Log-Info "docker-compose でサービスを起動しています..."
|
||||
docker-compose up -d
|
||||
docker-compose -f docker-compose.local.yml up --build -d
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
Log-Info "サービスが起動しました"
|
||||
Log-Blue "ログを確認するには: .\start.ps1 compose-logs"
|
||||
@@ -238,7 +238,7 @@ function Start-Compose {
|
||||
# docker-compose で停止
|
||||
function Stop-Compose {
|
||||
Log-Info "docker-compose でサービスを停止しています..."
|
||||
docker-compose down
|
||||
docker-compose -f docker-compose.local.yml down
|
||||
Log-Info "サービスを停止しました"
|
||||
}
|
||||
|
||||
@@ -322,7 +322,7 @@ switch ($Action.ToLower()) {
|
||||
Stop-Compose
|
||||
}
|
||||
"compose-logs" {
|
||||
docker-compose logs -f
|
||||
docker-compose -f docker-compose.local.yml logs -f
|
||||
}
|
||||
"python" {
|
||||
Start-Python
|
||||
|
||||
Reference in New Issue
Block a user