diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 31e6a704..149a062e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -54,10 +54,10 @@ jobs: - name: BDD Integration tests if: ${{ false }} # disable for now - run: docker-compose -f docker-compose.yml -f docker-compose.ci.yml run api behave + run: docker compose -f docker-compose.yml -f docker-compose.ci.yml run api behave - name: Pytest Integration tests - run: docker-compose -f docker-compose.yml -f docker-compose.ci.yml run --rm api pytest --integration + run: docker compose -f docker-compose.yml -f docker-compose.ci.yml run --rm api pytest --integration test-web: runs-on: ubuntu-latest diff --git a/documentation/docs/about/running/03-starting-services.md b/documentation/docs/about/running/03-starting-services.md index f88e8205..52142282 100644 --- a/documentation/docs/about/running/03-starting-services.md +++ b/documentation/docs/about/running/03-starting-services.md @@ -3,7 +3,7 @@ You can start running: ```shell -docker-compose up +docker compose up ``` The web app will be served at [http://localhost](http://localhost) diff --git a/documentation/docs/contribute/01-how-to-start-contributing.md b/documentation/docs/contribute/01-how-to-start-contributing.md index 0ae63000..29a8d44d 100644 --- a/documentation/docs/contribute/01-how-to-start-contributing.md +++ b/documentation/docs/contribute/01-how-to-start-contributing.md @@ -33,8 +33,8 @@ git checkout -b feature/my-new-feature 5. Make the changes in the created branch. 6. Add and run tests for your changes (we only take pull requests with passing tests). ```shell -docker-compose run --rm api pytest -docker-compose run --rm web yarn test +docker compose run --rm api pytest +docker compose run --rm web yarn test ``` 7. Add the changed files ```shell diff --git a/documentation/docs/contribute/development-guide/03-testing.md b/documentation/docs/contribute/development-guide/03-testing.md index 5af764c2..5282be75 100644 --- a/documentation/docs/contribute/development-guide/03-testing.md +++ b/documentation/docs/contribute/development-guide/03-testing.md @@ -17,7 +17,7 @@ You will find unit tests under `src/tests/unit`. ```shell -docker-compose run --rm api pytest +docker compose run --rm api pytest ``` @@ -50,7 +50,7 @@ These tests depends on mongodb and that it's running. ```shell -docker-compose run --rm web yarn test +docker compose run --rm web yarn test ``` diff --git a/documentation/docs/contribute/development-guide/04-upgrading.md b/documentation/docs/contribute/development-guide/04-upgrading.md index fd1508f9..5d91c082 100644 --- a/documentation/docs/contribute/development-guide/04-upgrading.md +++ b/documentation/docs/contribute/development-guide/04-upgrading.md @@ -7,7 +7,7 @@ Remember to restart! Any changes you make to these files will only come into effect after you restart the server. If you run the application using containers, -you need to do `docker-compose build` and then `docker-compose up` to get the changes. +you need to do `docker compose build` and then `docker compose up` to get the changes. :::