Skip to content

Commit

Permalink
Merge pull request #53 from DATA-DOG/docker-compose-v2
Browse files Browse the repository at this point in the history
[nit] Migrate to docker compose v2
  • Loading branch information
stefafafan committed Jun 7, 2023
2 parents cbdc3db + 0692da9 commit 5bd9aad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ INSERTS := "INSERT INTO users (username, email) VALUES ('gopher', 'gopher@go.com

MYSQLCMD=mysql
ifndef CI
MYSQLCMD=docker-compose exec mysql mysql
MYSQLCMD=docker compose exec mysql mysql
endif

PSQLCMD=psql
ifndef CI
PSQLCMD=docker-compose exec postgres psql
PSQLCMD=docker compose exec postgres psql
endif

test: mysql psql
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ Every time you will run this application, it will remain in the same state as be

Usage is mainly intended for testing purposes. See the **db_test.go** as
an example. In order to run tests, you will need docker and
docker-compose:
docker compose:

docker-compose up
docker compose up
make test

The tests are currently using `postgres` and `mysql` databases
Expand Down

0 comments on commit 5bd9aad

Please sign in to comment.