doc: Move note in README.md higher for visibility (#10450)

The note detailing `docker compose` use for Docker's compose v2 plugin should be higher in the README since the document's first bash snippet includes `docker-compose up --build` which uses the "docker-compose" syntax.

This way the relevant note is readily visible above the first mention of "docker-compose" so skimmers trying to get the explorer up and running are immediately informed of the difference
kf-fix-code-compiler-test
Markus Osterlund / robriks 4 months ago committed by GitHub
parent 6f8b48f2c1
commit cfd3da5403
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      docker-compose/README.md

@ -10,6 +10,8 @@ Runs Blockscout locally in Docker containers with [docker-compose](https://githu
## Building Docker containers from source ## Building Docker containers from source
**Note**: in all below examples, you can use `docker compose` instead of `docker-compose`, if compose v2 plugin is installed in Docker.
```bash ```bash
cd ./docker-compose cd ./docker-compose
docker-compose up --build docker-compose up --build
@ -38,8 +40,6 @@ and 5 containers for microservices (written in Rust):
The repo contains built-in configs for different JSON RPC clients without need to build the image. The repo contains built-in configs for different JSON RPC clients without need to build the image.
**Note**: in all below examples, you can use `docker compose` instead of `docker-compose`, if compose v2 plugin is installed in Docker.
| __JSON RPC Client__ | __Docker compose launch command__ | | __JSON RPC Client__ | __Docker compose launch command__ |
| -------- | ------- | | -------- | ------- |
| Erigon | `docker-compose -f erigon.yml up -d` | | Erigon | `docker-compose -f erigon.yml up -d` |

Loading…
Cancel
Save