This gists contains a collection of docker-compose config for Polkadot and Substrate.
You may clone this gist with:
git clone [email protected]:be461d11c56baecb0e7bbcb920e964fb.git
Then run each docker-compose config using:
docker-compose -f <file.yml> up --force-recreate
|
Note
|
Alternatively you can find below several one-liners that will download the config to your temp folder, pull and start containers, without the need to clone anything. |
|
Note
|
I usually alias docker-compose as dcp and you will see dcp below.
|
locally cloned:
dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate
one-liner:
wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/2f18621d648a3aaec548797e55c84843c0c3732f/docker-compose-substrate.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate
dcp -f dcp-polkadot-2nodes-noui.yml up --force-recreate
dcp -f dcp-polkadot-2nodes-ui.yml up --force-recreate
dcp -f dcp-polkadot-5nodes-ui.yml up --force-recreate
wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/2e168b42ad731886ef384ba26d5fe71355905506/docker-compose-local.yml -O /tmp/dcp-local.yml && export VERSION=latest && docker pull chevdor/polkadot:$VERSION && docker-compose -f /tmp/dcp-local.yml up --force-recreate