Skip to content

Manually Build and Deploy Calamari Docker Image

Jianping Deng edited this page Sep 14, 2021 · 1 revision

How to build and deploy

Build

Choose a recent release, for example v3.0.1-6147698 is the latest release tag.

cd docker
docker build --build-arg TAG_NAME="v3.0.1-6147698" -t mantanetwork/calamari:latest .

Run

  • Full node
docker run \
-it \
-p 30333:30333 \
-p 9944:9944 \
-p 9933:9933 \
-v ~/calamari-full-node:/full \
--name calamari-full-node \
mantanetwork/calamari:latest \
--chain calamari-genesis.json \
--parachain-id 2084 \
--base-path /full/calamari-full/data \
--keystore-path /full/calamari-full/keystore \
--name "Calamari Full Node" \
--rpc-cors all \
-- \
--chain kusama.json
  • Archive node
docker run \
-it \
-p 30333:30333 \
-p 9944:9944 \
-p 9933:9933 \
-v ~/calamari-archive-node:/archive \
--name calamari-archive-node \
mantanetwork/calamari:latest \
--chain calamari-genesis.json \
--parachain-id 2084 \
--base-path /archive/calamari-archive/data \
--keystore-path /archive/calamari-archive/keystore \
--name "Calamari Archive Node" \
--rpc-cors all \
--pruning archive \
-- \
--chain kusama.json
  • Collator node
docker run \
-it \
-p 30333:30333 \
-p 9944:9944 \
-p 9933:9933 \
-v ~/calamari-collator-node:/collator \
--name calamari-full-node \
mantanetwork/calamari:latest \
--chain calamari-genesis.json \
--parachain-id 2084 \
--base-path /collator/calamari-collator/data \
--keystore-path /collator/calamari-collator/keystore \
--name "Calamari Collator Node" \
--rpc-cors all \
--validator \
-- \
--chain kusama.json