Skip to content

Commit

Permalink
Use 'docker-compose exec' instead of 'docker exec'
Browse files Browse the repository at this point in the history
  • Loading branch information
willaerk committed Sep 16, 2024
1 parent 3ab3326 commit 7757f6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ build:
docker-compose up --build

bash:
docker exec -it search.uitdatabank bash
docker-compose exec search bash

config:
sh ./docker/config.sh

install:
docker exec -it search.uitdatabank composer install
docker-compose exec -T search composer install

migrate:
docker exec -it search.uitdatabank ./bin/app.php elasticsearch:migrate
docker-compose exec -T search ./bin/app.php elasticsearch:migrate

migrate-force:
docker exec -it search.uitdatabank ./bin/app.php elasticsearch:migrate --force
Expand All @@ -40,4 +40,4 @@ test:
docker exec -it search.uitdatabank composer test

test-filter:
docker exec -it search.uitdatabank composer test -- --filter=$(filter)
docker exec -it search.uitdatabank composer test -- --filter=$(filter)

0 comments on commit 7757f6e

Please sign in to comment.