Skip to content

Commit

Permalink
Use "docker compose"
Browse files Browse the repository at this point in the history
  • Loading branch information
timkelty committed Aug 19, 2024
1 parent c769bf6 commit b8f5263
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
DUMPFILE ?= seed.sql
COMPOSE ?= docker-compose
EXEC ?= ${COMPOSE} exec -T web
RUN ?= ${COMPOSE} run --rm web
WEB_CONTAINER = docker-compose ps -q web
EXEC ?= docker compose exec -T web
RUN ?= docker compose run --rm web
WEB_CONTAINER = docker compose ps -q web

.PHONY: init update restore backup seed clean test

init:
cp .env.docker .env
${COMPOSE} up -d
docker compose up -d
${EXEC} composer install
update:
${EXEC} composer update --no-interaction
Expand Down

0 comments on commit b8f5263

Please sign in to comment.