Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
pyama86 committed Oct 8, 2024
1 parent a639759 commit 2ddb723
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
CONCURRENT_LIMIT=4

# サービス名の配列を取得
services=($(docker-compose config --services))
services=($(docker compose config --services))

# 各サービスをビルドする(省略可能)
for service in "${services[@]}"; do
docker-compose build "$service"
docker compose build "$service"
done

# 起動ジョブの制御用関連変数の初期化
Expand All @@ -19,7 +19,7 @@ declare -A services_started
start_service() {
local service="$1"
echo "Starting service: $service"
docker-compose up "$service" &
docker compose up "$service" &
pids[$!]=$service
services_started[$service]=1
}
Expand Down

0 comments on commit 2ddb723

Please sign in to comment.