diff --git a/docs/development.md b/docs/development.md index 864934222a3..e5c2199d103 100644 --- a/docs/development.md +++ b/docs/development.md @@ -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 @@ -239,16 +235,11 @@ The Datastore emulator will be running in the port specified in the `build.prope -We have a Docker compose definition to run dependent services, including local Datastore emulator. Run it under the `datastore` service name and bind to the container port `8484`: +Docker Compose v2 is used to run dependent services, including local Datastore emulator. Run it under the `datastore` service name and bind to the container port `8484`: ```sh 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`. diff --git a/docs/search.md b/docs/search.md index f353f4085ab..4605b4d0e3e 100644 --- a/docs/search.md +++ b/docs/search.md @@ -12,18 +12,11 @@ This document will assume Solr version `8.11.1`. ## Setting up Solr using Docker -If you have access to Docker, this method is straightforward and recommended. - -We have provided a Docker compose definition to run dependent services, including Solr. Run it under the `solr` service name and bind to the container port `8983`: +If you have access to Docker, we recommend using Docker Compose v2 to run the dependent services, including Solr. Run it under the `solr` service name and bind to the container port `8983`: ```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`.