Skip to content

Running local Mosaic Chain Stack

With this Docker Compose stack, you can start a Mosaic Solochain on your local computer.

Prerequisites

Starting the Stack

bash
git clone https://github.com/Mosaic-Chain/devdocs
cd devdocs/development/
./init.sh
docker compose up -d --wait

TIP

You can start only the chain by running docker compose up -d --wait blockchain. In this case you don't even need to run init.sh and you don't even need nebula or openssl installed.

URLs

WebsiteDescriptionLink
Blockchain RPCCan be used to communicate with the chain.ws://localhost:1400
ExplorerFrontend designed to access the Mosaic Chain.http://localhost:1413
MetricsSession metrics from the chain.http://localhost:1418
TelemetryCollects hardware data from validators.http://localhost:1420
PgAdminDatabase manager tool.http://localhost:1415
PortainerContainer management tool.http://localhost:1416
WebMailFake email tool.http://localhost:1417

Ports

ContainerExternalInternal
Blockchain14009945
Blockchain14019946
Blockchain14029947
Blockchain14039948
Blockchain14049949
Blockchain14059950
Indexer14068080
Indexer Database14075432
VPN Controller Backend14083001
VPN Controller Backend14093002
VPN Controller Backend14103003
VPN Controller Backend Database14115432
Gateway Backend14128080
Explorer Pro141380
VPN Controller Frontend141480
PgAdmin141580
Portainer14169000
WebMail14171080
Metrics14183000
Metrics Database14195432