Skip to content

Commit

Permalink
Migrate docker compose to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Aug 7, 2024
1 parent ebd72a7 commit 31d3d79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions test/docker-compose.yml → test/compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "2"

services:
nginx:
image: wodby/php-nginx
Expand Down
10 changes: 5 additions & 5 deletions test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ if [[ -n "${DEBUG}" ]]; then
set -x
fi

docker-compose up -d
docker-compose exec -T nginx make check-ready -f /usr/local/bin/actions.mk
docker-compose exec -T matomo make init -f /usr/local/bin/actions.mk
docker-compose exec -T matomo tests.sh
docker-compose down
docker compose up -d
docker compose exec -T nginx make check-ready -f /usr/local/bin/actions.mk
docker compose exec -T matomo make init -f /usr/local/bin/actions.mk
docker compose exec -T matomo tests.sh
docker compose down

0 comments on commit 31d3d79

Please sign in to comment.