Skip to content

Commit

Permalink
fix: Update docker syntax
Browse files Browse the repository at this point in the history
The `docker-compose` command has been replaced with `docker compose`.
  • Loading branch information
akash1810 committed Nov 28, 2024
1 parent e324354 commit 5291aab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dev-environment/script/start
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ start_containers() {
echo ""
done

docker-compose -f "${DIR}/../docker-compose.yaml" --env-file "$MAIN_ENV_FILE" --env-file "$LOCAL_ENV_FILE" up -d --build
docker compose -f "${DIR}/../docker-compose.yaml" --env-file "$MAIN_ENV_FILE" --env-file "$LOCAL_ENV_FILE" up -d --build
}

check_vpn_connection() {
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-environment/script/start-prisma-migrate-test
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ start_containers() {
step "Launching Docker containers"

if (docker info) 2>&1 >/dev/null; then
docker-compose -f "${DIR}/../docker-compose-prisma-migrate.yaml" --env-file "$MAIN_ENV_FILE" --env-file "$LOCAL_ENV_FILE" up -d --build
docker compose -f "${DIR}/../docker-compose-prisma-migrate.yaml" --env-file "$MAIN_ENV_FILE" --env-file "$LOCAL_ENV_FILE" up -d --build
else
echo "Docker is not running. Please start Docker."
exit 1
Expand Down

0 comments on commit 5291aab

Please sign in to comment.