github.com/status-im/status-go@v1.1.0/_assets/compose/wnode-test-cluster/README.md (about)

     1  Whisper Nodes Cluster
     2  =====================
     3  
     4  This is an instruction how to start a local Whisper cluster in Docker with docker-compose.
     5  
     6  ## Prepare Docker image
     7  
     8  First, you need to have an image called `status-go:latest`. To build it, run `make docker-image`.
     9  
    10  ## Run cluster
    11  
    12  To run the cluster with docker-compose, execute:
    13  ```
    14  $ docker-compose up -d --scale wnode=3
    15  ```
    16  
    17  > It may be required to make your node a swarm manager first. If you see an appropriate error, follow the instructions.
    18  
    19  This command will start a bootnode and three Whisper nodes. All Whisper nodes use the single bootnode and they should quickly find each other as peers.
    20  
    21  To access debug info, run `docker ps`, figure out your host port bound to wnode `8080/tcp` port and execute `curl localhost:$HOST_PORT/debug/vars`.
    22  
    23  Of course, you can always use `docker logs` to read logs. By default, `loglevel` is set to `DEBUG`.