Skip to content

Commit

Permalink
chore: 'docker-compose'->'docker compose'
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuswinger committed Sep 4, 2024
1 parent 855ed66 commit da71ffd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/about/running/03-starting-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions documentation/docs/contribute/01-how-to-start-contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions documentation/docs/contribute/development-guide/03-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You will find unit tests under `src/tests/unit`.
<TabItem value="using-docker" label="Using docker">

```shell
docker-compose run --rm api pytest
docker compose run --rm api pytest
```

</TabItem>
Expand Down Expand Up @@ -50,7 +50,7 @@ These tests depends on mongodb and that it's running.
<TabItem value="using-docker" label="Using docker">

```shell
docker-compose run --rm web yarn test
docker compose run --rm web yarn test
```

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

:::

Expand Down

0 comments on commit da71ffd

Please sign in to comment.