check docker-compose presense dynamically

Co-authored-by: fryorcraken <110212804+fryorcraken@users.noreply.github.com>
This commit is contained in:
Sergei Tikhomirov 2025-07-30 12:23:56 +02:00 committed by GitHub
parent 771cd8658f
commit 05c4ece4d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,8 @@ echo "POSTGRES_SHM=4g" >> .env
Start all processes: nwaku node, database and grafana for metrics. Your [RLN](https://rate-limiting-nullifier.github.io/rln-docs/what_is_rln.html) membership is loaded into nwaku under the hood. Start all processes: nwaku node, database and grafana for metrics. Your [RLN](https://rate-limiting-nullifier.github.io/rln-docs/what_is_rln.html) membership is loaded into nwaku under the hood.
```console ```console
docker compose up -d DOCKER_COMPOSE=$(which docker-compose > /dev/null 2>&1 && echo "docker-compose" || echo "docker compose")
$DOCKER_COMPOSE up -d
``` ```
⚠️ The node might take a few minutes the very first time it runs because it needs to build locally the RLN community membership tree. ⚠️ The node might take a few minutes the very first time it runs because it needs to build locally the RLN community membership tree.