Skip to content

Commit

Permalink
Update docs to use docker compose v2
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoHW committed Aug 3, 2024
1 parent 499bde8 commit 3644596
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
10 changes: 1 addition & 9 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,12 @@ In order for the back-end to properly work, you need to have a running database

The details on how to run them locally can be found [here (for local Datastore emulator)](#running-the-datastore-emulator) and [here (for full-text search service)](search.md).

If you have access to Docker, we have a Docker compose definition to run those services:
If you have access to Docker, we recommend using Docker Compose v2 to run those services:

```sh
docker compose up -d
```
If the above command does not work, you may not have the updated v2 version of Docker. You may want to try this instead:

```sh
docker-compose up -d
```
For more information on Docker, you may wish to refer to the [Docker Documentation](https://docs.docker.com/compose/reference/).

### Starting the dev server
Expand Down Expand Up @@ -246,10 +242,6 @@ docker compose run -p 8484:8484 datastore
```
If the above command does not work, you may want to try this instead:
```sh
docker-compose run -p 8484:8484 datastore
```
**Verification:** Should receive an "Ok" response in the browser at `http://localhost:8484`.
</panel>
Expand Down
5 changes: 0 additions & 5 deletions docs/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ We have provided a Docker compose definition to run dependent services, includin
```sh
docker compose run -p 8983:8983 solr
```
If the above command does not work, you may want to try this instead:

```sh
docker-compose run -p 8983:8983 solr
```

**Verification:** the Solr admin console should be accessible in `http://localhost:8983`.

Expand Down

0 comments on commit 3644596

Please sign in to comment.