Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated make file to deal with Docker Compose Compatibility Issues #3669

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,28 @@ lint:
lint-fix:
@make lint-fix-eslint; make lint-fix-stylelint

#Duplicating compose commands to deal with compability issues for Mac users.
docker-up:
@docker-compose up -d
docker-up-mac:
@docker compose up -d

docker-up-db:
@docker-compose up -d db
docker-up-db-mac:
@docker compose up -d db

docker-stop:
@docker-compose stop
@docker-compose rm -f
docker-stop-mac:
@docker compose stop
@docker compose rm -f

docker-run:
@docker-compose run --rm --service-ports --name projectsidewalk-web web /bin/bash
docker-run-mac:
@docker compose run --rm --service-ports --name projectsidewalk-web web /bin/bash

ssh:
@docker exec -it projectsidewalk-$${target} /bin/bash
Expand Down