status-go/_assets/compose/wnode-test-cluster
Andrea Maria Piana dcaf8caed0
Add x3dh key exchange (#1127)
* Add x3dh key exchange

* Encrypt using the double ratchet

* Multi device with auto-pairing

* Add pfs enabled flag
2018-09-24 20:07:34 +02:00
..
README.md Move non-go related files to the `_assets` folder. #621 (#630) 2018-02-09 14:38:18 +01:00
docker-compose.yml Streamline configuration in status-go. Part of #1180 (#1183) 2018-09-13 18:31:29 +02:00
wnode-config.json Add x3dh key exchange (#1127) 2018-09-24 20:07:34 +02:00

README.md

Whisper Nodes Cluster

This is an instruction how to start a local Whisper cluster in Docker with docker-compose.

Prepare Docker image

First, you need to have an image called status-go:latest. To build it, run make docker-image.

Run cluster

To run the cluster with docker-compose, execute:

$ docker-compose up -d --scale wnode=3

It may be required to make your node a swarm manager first. If you see an appropriate error, follow the instructions.

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.

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.

Of course, you can always use docker logs to read logs. By default, loglevel is set to DEBUG.