mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-13 11:15:35 +00:00
9b6fe501d8
* Update * Typo * Update * Fixes * Fix * docs: Added CONTRIBUTING and LICENSE-related words to README * docs: a few typos fixed --------- Co-authored-by: Mikhail <mikhail.zotov@fluence.one>
1.4 KiB
1.4 KiB
Run rust-peer with docker-compose
This docker-compose file starts a local network of three rust-peers.
Installing docker and docker-compose
Follow official instruction for docker and docker-compose.
Running local rust-peer network
-
Either
git clone
this repository locally and runcd deploy/docker-compose
or downloaddocker-compose.yml
directly. -
Ensure you have the most up-to-date container images:
docker-compose pull
-
Run the network:
docker-compose up -d
Accessing local rust-peer network
Using fluence-cli follow the
example workflow
appending --relay <peer-multiaddr>
to run
commands.
Local network multiaddresses:
container | multiaddress |
---|---|
peer-1 | /ip4/127.0.0.1/tcp/9991/ws/p2p/12D3KooWBM3SdXWqGaawQDGQ6JprtwswEg3FWGvGhmgmMez1vRbR |
peer-2 | /ip4/127.0.0.1/tcp/9992/ws/p2p/12D3KooWQdpukY3p2DhDfUfDgphAqsGu5ZUrmQ4mcHSGrRag6gQK |
peer-3 | /ip4/127.0.0.1/tcp/9993/ws/p2p/12D3KooWRT8V5awYdEZm6aAV9HWweCEbhWd7df4wehqHZXAB7yMZ |