Last active
March 1, 2022 07:06
-
-
Save chevdor/be461d11c56baecb0e7bbcb920e964fb to your computer and use it in GitHub Desktop.
Revisions
-
chevdor revised this gist
Apr 21, 2020 . 1 changed file with 19 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,64 +7,77 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" - "19615:9615" volumes: - "polkadot-data-alice:/data" command: polkadot --chain=kusama-local --unsafe-ws-external --rpc-cors all --validator --alice --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 node_bob: container_name: bob image: chevdor/polkadot:${TAG:-latest} ports: - "29615:9615" volumes: - "polkadot-data-bob:/data" links: - "node_alice:alice" command: polkadot --chain=kusama-local --validator --bob --port 30344 --rpc-port 9935 --ws-port 9945 --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR' networks: testing_net: ipv4_address: 172.28.1.2 node_charlie: container_name: charlie image: chevdor/polkadot:${TAG:-latest} ports: - "39615:9615" volumes: - "polkadot-data-charlie:/data" links: - "node_alice:alice" command: polkadot --chain=kusama-local --validator --charlie --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR' networks: testing_net: ipv4_address: 172.28.1.3 node_dave: container_name: dave image: chevdor/polkadot:${TAG:-latest} ports: - "49615:9615" volumes: - "polkadot-data-dave:/data" links: - "node_alice:alice" command: polkadot --chain=kusama-local --validator --dave --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR' networks: testing_net: ipv4_address: 172.28.1.4 node_eve: container_name: eve image: chevdor/polkadot:${TAG:-latest} ports: - "59615:9615" volumes: - "polkadot-data-eve:/data" links: - "node_alice:alice" command: polkadot --chain=kusama-local --validator --eve --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR' networks: testing_net: ipv4_address: 172.28.1.5 ui: container_name: ui image: chevdor/polkadot-ui links: - "node_alice:alice" environment: - WS_URL=ws://localhost:9944 ports: - "80:80" @@ -80,4 +93,4 @@ networks: ipam: driver: default config: - subnet: 172.28.0.0/16 -
Will revised this gist
May 9, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,10 +66,10 @@ This will *NOT* delete all your containers but only those related to polkadot or dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/f10ebbe5b51f54e75cc06e14cf3a2f521b231cd9/dcp-substrate-2nodes-noui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate .2 nodes with UI dcp -f dcp-substrate-2nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/f10ebbe5b51f54e75cc06e14cf3a2f521b231cd9/dcp-substrate-2nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate -
Will revised this gist
May 9, 2019 . 2 changed files with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ version: '3' services: node_alice: container_name: alice image: chevdor/substrate:${TAG:-latest} ports: - "30333:30333" @@ -14,6 +15,7 @@ services: ipv4_address: 172.28.1.1 node_bob: container_name: bob image: chevdor/substrate:${TAG:-latest} ports: - "30335:30333" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ version: '3' services: node_alice: container_name: alice image: chevdor/substrate:${TAG:-latest} ports: - "30333:30333" @@ -14,6 +15,7 @@ services: ipv4_address: 172.28.1.1 node_bob: container_name: bob image: chevdor/substrate:${TAG:-latest} ports: - "30334:30333" -
Will revised this gist
May 9, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,10 +66,10 @@ This will *NOT* delete all your containers but only those related to polkadot or dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/4d51426b80aa362a7978ba888923e10909e7e386/dcp-substrate-2nodes-noui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate .2 nodes with UI dcp -f dcp-substrate-2nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/4d51426b80aa362a7978ba888923e10909e7e386/dcp-substrate-2nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate -
Will revised this gist
May 9, 2019 . 2 changed files with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -43,20 +43,20 @@ This will *NOT* delete all your containers but only those related to polkadot or .2 nodes no UI dcp -f dcp-polkadot-2nodes-noui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/855b75b18a2e8f05b19633b2bbd8f00887aa9300/dcp-polkadot-2nodes-noui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate .2 nodes with UI dcp -f dcp-polkadot-2nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/855b75b18a2e8f05b19633b2bbd8f00887aa9300/dcp-polkadot-2nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate === 5 nodes .5 nodes with UI dcp -f dcp-polkadot-5nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/855b75b18a2e8f05b19633b2bbd8f00887aa9300/dcp-polkadot-5nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate == Substrate This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ version: '3' services: node_alice: image: chevdor/substrate:${TAG:-latest} -
Will revised this gist
May 9, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ = Substrate/Polkadot local chain This gists contains a collection of docker-compose config for Polkadot and Substrate. You can find it https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb[here]. You may clone this gist with: -
Will revised this gist
May 9, 2019 . 6 changed files with 48 additions and 42 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Then run each docker-compose config using: 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. You can create this alias with `alias dcp='docker-compose'` WARNING: If you get any message similar to `ERROR: Pool overlaps with other one on this address space`, please run the following commands: @@ -32,6 +32,7 @@ You can cleanup your docker ENV using the following: docker ps -a | grep "polkadot\|substrate" | awk '{print $1}' | xargs docker stop | xargs docker rm docker network ls | grep "polkadot\|substrate\|tmp" | awk '{print $1}' | xargs docker network rm docker volume ls | grep "polkadot\|substrate\|tmp" | awk '{print $2}' | xargs docker volume rm This will *NOT* delete all your containers but only those related to polkadot or substrate. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,29 +1,33 @@ version: '3' services: node_alice: image: chevdor/polkadot:${TAG:-latest} container_name: alice command: > polkadot --chain=local --alice -d /data --ws-external --rpc-cors all --validator --node-key 0000000000000000000000000000000000000000000000000000000000000001 ports: - "30333:30333" - "9933:9933" - "9944:9944" volumes: - "polkadot-data-alice:/data" networks: testing_net: ipv4_address: 172.28.1.1 node_bob: image: chevdor/polkadot:${TAG:-latest} container_name: bob command: > polkadot --chain=local --bob --ws-external --rpc-cors all --validator -d /data --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' ports: - "30335:30333" - "9935:9933" - "9945:9944" volumes: - "polkadot-data-bob:/data" links: - "node_alice:alice" networks: testing_net: ipv4_address: 172.28.1.2 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,34 +1,39 @@ version: '3' services: node_alice: image: chevdor/polkadot:${TAG:-latest} container_name: alice command: > polkadot --chain=local --alice -d /data --ws-external --rpc-cors all --validator --node-key 0000000000000000000000000000000000000000000000000000000000000001 ports: - "30333:30333" - "9933:9933" - "9944:9944" volumes: - "polkadot-data-alice:/data" networks: testing_net: ipv4_address: 172.28.1.1 node_bob: image: chevdor/polkadot:${TAG:-latest} container_name: bob command: > polkadot --chain=local --bob -d /data --ws-external --rpc-cors all --validator --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' ports: - "30335:30333" - "9935:9933" - "9945:9944" volumes: - "polkadot-data-bob:/data" links: - "node_alice:alice" networks: testing_net: ipv4_address: 172.28.1.2 ui: container_name: ui image: chevdor/polkadot-ui ports: - "80:80" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,23 +1,21 @@ version: '3' services: node_alice: container_name: alice image: chevdor/polkadot:${TAG:-latest} ports: - "30333:30333" - "9933:9933" - "9944:9944" volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --rpc-cors all --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 node_bob: container_name: bob image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-bob:/data" @@ -29,8 +27,7 @@ services: ipv4_address: 172.28.1.2 node_charlie: container_name: charlie image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-charlie:/data" @@ -42,8 +39,7 @@ services: ipv4_address: 172.28.1.3 node_dave: container_name: dave image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-dave:/data" @@ -55,8 +51,7 @@ services: ipv4_address: 172.28.1.4 node_eve: container_name: eve image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-eve:/data" @@ -67,7 +62,8 @@ services: testing_net: ipv4_address: 172.28.1.5 ui: container_name: ui image: chevdor/polkadot-ui ports: - "80:80" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,29 +1,29 @@ version: '3.1' services: node_alice: image: chevdor/substrate:${TAG:-latest} ports: - "30333:30333" - "9933:9933" - "9944:9944" volumes: - "substrate-data-alice:/data" command: substrate --chain=local --ws-external --rpc-cors all --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 node_bob: image: chevdor/substrate:${TAG:-latest} ports: - "30335:30333" - "9935:9933" - "9945:9944" volumes: - "substrate-data-bob:/data" links: - "node_alice:alice" command: substrate --chain=local --ws-external --rpc-cors all --validator --bob -d /data --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,29 +1,29 @@ version: '3' services: node_alice: image: chevdor/substrate:${TAG:-latest} ports: - "30333:30333" - "9933:9933" - "9944:9944" volumes: - "substrate-data-alice:/data" command: substrate --chain=local --validator --alice -d /data --ws-external --rpc-cors all --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 node_bob: image: chevdor/substrate:${TAG:-latest} ports: - "30334:30333" - "9935:9933" - "9945:9944" volumes: - "substrate-data-bob:/data" links: - "node_alice:alice" command: substrate --chain=local --validator --bob -d /data --ws-external --rpc-cors all --bootnodes '/ip4/node_alice/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 -
Will revised this gist
May 6, 2019 . 2 changed files with 1 addition and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,11 +28,6 @@ services: testing_net: ipv4_address: 172.28.1.2 volumes: polkadot-data-alice: polkadot-data-bob: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services: image: chevdor/substrate:${TAG:-latest} volumes: - "substrate-data-alice:/data" command: substrate --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 -
Will revised this gist
May 3, 2019 . 2 changed files with 24 additions and 17 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,8 @@ NOTE: By default, all commands will pull the `latest` tag for the polkadot/subst NOTE: After starting the commands including a UI, you may reach the UI at http://localhost:80/. You need however to adjust the `settings` in the UI in order to switch from the Hosted node to *your* local node. WARNING: It is likely that some of the docker-compose config no longer work for very old docker images. == Docker environment cleanup You can cleanup your docker ENV using the following: @@ -33,22 +35,6 @@ You can cleanup your docker ENV using the following: This will *NOT* delete all your containers but only those related to polkadot or substrate. == Polkadot === 2 nodes @@ -70,3 +56,19 @@ This will *NOT* delete all your containers but only those related to polkadot or dcp -f dcp-polkadot-5nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-5nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate == Substrate === 2 nodes .2 nodes no UI dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/9402e6517b70fdbe3bb82f7bf43863dbf9a2e968/dcp-substrate-2nodes-noui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate .2 nodes with UI dcp -f dcp-substrate-2nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/9402e6517b70fdbe3bb82f7bf43863dbf9a2e968/dcp-substrate-2nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,7 +66,12 @@ services: networks: testing_net: ipv4_address: 172.28.1.5 ui: image: chevdor/polkadot-ui ports: - "80:80" volumes: polkadot-data-alice: polkadot-data-bob: -
Will revised this gist
May 3, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -41,13 +41,13 @@ This will *NOT* delete all your containers but only those related to polkadot or dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/9402e6517b70fdbe3bb82f7bf43863dbf9a2e968/dcp-substrate-2nodes-noui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate .2 nodes with UI dcp -f dcp-substrate-2nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/9402e6517b70fdbe3bb82f7bf43863dbf9a2e968/dcp-substrate-2nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate == Polkadot -
Will revised this gist
May 3, 2019 . 2 changed files with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,7 +29,7 @@ NOTE: After starting the commands including a UI, you may reach the UI at http:/ You can cleanup your docker ENV using the following: docker ps -a | grep "polkadot\|substrate" | awk '{print $1}' | xargs docker stop | xargs docker rm docker network ls | grep "polkadot\|substrate\|tmp" | awk '{print $1}' | xargs docker network rm This will *NOT* delete all your containers but only those related to polkadot or substrate. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services: image: chevdor/substrate:${TAG:-latest} volumes: - "substrate-data-alice:/data" command: substrate --chain=local --validator --alice -d /data --ws-external --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 @@ -23,7 +23,7 @@ services: - "substrate-data-bob:/data" links: - "node_alice:alice" command: substrate --chain=local --validator --bob -d /data --port 30344 --rpc-port 9935 --ws-port 9945 --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 -
Will revised this gist
May 3, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -29,7 +29,7 @@ NOTE: After starting the commands including a UI, you may reach the UI at http:/ You can cleanup your docker ENV using the following: docker ps -a | grep "polkadot\|substrate" | awk '{print $1}' | xargs docker stop | xargs docker rm docker network ls | grep "polkadot\|substrate" | awk '{print $1}' | xargs docker network rm This will *NOT* delete all your containers but only those related to polkadot or substrate. -
Will revised this gist
May 3, 2019 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -51,6 +51,8 @@ This will *NOT* delete all your containers but only those related to polkadot or == Polkadot === 2 nodes .2 nodes no UI dcp -f dcp-polkadot-2nodes-noui.yml up --force-recreate @@ -62,6 +64,8 @@ This will *NOT* delete all your containers but only those related to polkadot or wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-2nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate === 5 nodes .5 nodes with UI dcp -f dcp-polkadot-5nodes-ui.yml up --force-recreate -
Will revised this gist
May 3, 2019 . 1 changed file with 4 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -41,13 +41,13 @@ This will *NOT* delete all your containers but only those related to polkadot or dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-5nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate .2 nodes with UI dcp -f dcp-substrate-2nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-substrate-2nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate == Polkadot @@ -60,19 +60,9 @@ This will *NOT* delete all your containers but only those related to polkadot or .2 nodes with UI dcp -f dcp-polkadot-2nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-2nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate .5 nodes with UI dcp -f dcp-polkadot-5nodes-ui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-5nodes-ui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate -
Will revised this gist
May 3, 2019 . 1 changed file with 14 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -37,29 +37,36 @@ This will *NOT* delete all your containers but only those related to polkadot or === 2 nodes .2 nodes no UI dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-5nodes-ui.yml .2 nodes with UI dcp -f dcp-substrate-2nodes-ui.yml up --force-recreate https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-substrate-2nodes-ui.yml == Polkadot .2 nodes no UI dcp -f dcp-polkadot-2nodes-noui.yml up --force-recreate wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-2nodes-noui.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate .2 nodes with UI dcp -f dcp-polkadot-2nodes-ui.yml up --force-recreate https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-2nodes-ui.yml .5 nodes with UI dcp -f dcp-polkadot-5nodes-ui.yml up --force-recreate https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/b7391dadfd4901cb87d84d6785ea94b09d36de15/dcp-polkadot-5nodes-ui.yml === Local 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 -
Will revised this gist
May 3, 2019 . 3 changed files with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,6 +22,7 @@ WARNING: If you get any message similar to `ERROR: Pool overlaps with other one NOTE: By default, all commands will pull the `latest` tag for the polkadot/substrate images. This may not always be what you want. To get the tag `1.2.3` you can prepend `TAG=1.2.3` to the command. For instance `TAG=bbqb dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate` NOTE: After starting the commands including a UI, you may reach the UI at http://localhost:80/. You need however to adjust the `settings` in the UI in order to switch from the Hosted node to *your* local node. == Docker environment cleanup This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,6 +28,11 @@ services: testing_net: ipv4_address: 172.28.1.2 ui: image: chevdor/polkadot-ui ports: - "80:80" volumes: polkadot-data-alice: polkadot-data-bob: File renamed without changes. -
Will revised this gist
May 3, 2019 . 3 changed files with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -18,7 +18,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-bob:/data" links: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -18,7 +18,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-bob:/data" links: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -18,7 +18,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-bob:/data" links: @@ -31,7 +31,7 @@ services: node_charlie: ports: - "30335:30333" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-charlie:/data" links: @@ -44,7 +44,7 @@ services: node_dave: ports: - "30336:30333" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-dave:/data" links: @@ -57,7 +57,7 @@ services: node_eve: ports: - "30337:30333" image: chevdor/polkadot:${TAG:-latest} volumes: - "polkadot-data-eve:/data" links: -
Will revised this gist
May 3, 2019 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ :toc: = Substrate/Polkadot local chain This gists contains a collection of docker-compose config for Polkadot and Substrate. -
Will revised this gist
May 3, 2019 . 4 changed files with 5 additions and 27 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,6 @@ version: '3' services: node_alice: ports: - "30333:30333" - "9933:9933" @@ -16,8 +14,6 @@ services: ipv4_address: 172.28.1.1 node_bob: ports: - "30344:30344" - "9935:9935" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,6 @@ version: '3' services: node_alice: ports: - "30333:30333" - "9933:9933" @@ -16,8 +14,6 @@ services: ipv4_address: 172.28.1.1 node_bob: ports: - "30344:30344" - "9935:9935" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,11 @@ version: '3' services: node_alice: ports: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -16,13 +14,11 @@ services: ipv4_address: 172.28.1.1 node_bob: ports: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-bob:/data" links: @@ -33,11 +29,9 @@ services: ipv4_address: 172.28.1.2 node_charlie: ports: - "30335:30333" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-charlie:/data" links: @@ -48,11 +42,9 @@ services: ipv4_address: 172.28.1.3 node_dave: ports: - "30336:30333" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-dave:/data" links: @@ -63,11 +55,9 @@ services: ipv4_address: 172.28.1.4 node_eve: ports: - "30337:30333" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-eve:/data" links: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,6 @@ version: '3' services: node_alice: ports: - "30333:30333" - "9933:9933" @@ -16,8 +14,6 @@ services: ipv4_address: 172.28.1.1 node_bob: ports: - "30344:30344" - "9935:9935" -
Will revised this gist
May 3, 2019 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,6 +20,16 @@ WARNING: If you get any message similar to `ERROR: Pool overlaps with other one NOTE: By default, all commands will pull the `latest` tag for the polkadot/substrate images. This may not always be what you want. To get the tag `1.2.3` you can prepend `TAG=1.2.3` to the command. For instance `TAG=bbqb dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate` == Docker environment cleanup You can cleanup your docker ENV using the following: docker ps -a | grep "polkadot\|substrate" | awk '{print $1}' | xargs docker stop | xargs docker rm docker network ls | grep tmp | awk '{print $1}' | xargs docker network rm This will *NOT* delete all your containers but only those related to polkadot or substrate. == Substrate === 2 nodes -
Will revised this gist
May 3, 2019 . 5 changed files with 15 additions and 13 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,12 @@ NOTE: Alternatively you can find below several one-liners that will download the NOTE: I usually alias docker-compose as `dcp` and you will see `dcp` below. WARNING: If you get any message similar to `ERROR: Pool overlaps with other one on this address space`, please run the following commands: docker network ls | grep tmp | awk '{print $1}' | xargs docker network rm NOTE: By default, all commands will pull the `latest` tag for the polkadot/substrate images. This may not always be what you want. To get the tag `1.2.3` you can prepend `TAG=1.2.3` to the command. For instance `TAG=bbqb dcp -f dcp-substrate-2nodes-noui.yml up --force-recreate` == Substrate === 2 nodes This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -22,7 +22,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-bob:/data" links: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -22,7 +22,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/pokkadot:${TAG:-latest} volumes: - "polkadot-data-bob:/data" links: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,11 @@ version: '3.1' services: node_alice: ports: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/substrate:${TAG:-latest} volumes: - "substrate-data-alice:/data" command: substrate --chain=local purge-chain --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -16,13 +14,11 @@ services: ipv4_address: 172.28.1.1 node_bob: ports: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/substrate:${TAG:-latest} volumes: - "substrate-data-bob:/data" links: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/substrate:${TAG:-latest} volumes: - "substrate-data-alice:/data" command: substrate --chain=local purge-chain --validator --alice -d /data --ws-external --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -22,7 +22,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/substrate:${TAG:-latest} volumes: - "substrate-data-bob:/data" links: -
Will revised this gist
May 3, 2019 . 6 changed files with 139 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,51 @@ = Substrate/Polkadot local chain 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. == Substrate === 2 nodes ==== No UI: .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 ==== With UI dcp -f dcp-substrate-2nodes-ui.yml up --force-recreate == Polkadot 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 === Local 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 === 5 nodes wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/1e3ea5a3f2b1cb39745634c00d3de59df05f9e81/5nodes.yml -O /tmp/dcp-5nodes.yml && docker-compose -f /tmp/dcp-5nodes.yml up --force-recreate This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ version: '3' services: node_alice: build: context: . ports: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 node_bob: build: context: . ports: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-bob:/data" links: - "node_alice:alice" command: polkadot --chain=local --validator --bob -d /data --port 30344 --rpc-port 9935 --ws-port 9945 --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 ui: image: chevdor/polkadot-ui ports: - "80:80" volumes: polkadot-data-alice: polkadot-data-bob: networks: testing_net: ipam: driver: default config: - subnet: 172.28.0.0/16 File renamed without changes.File renamed without changes.File renamed without changes.This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ version: '3' services: node_alice: build: context: . ports: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/substrate:bbqb volumes: - "substrate-data-alice:/data" command: substrate --chain=local purge-chain --validator --alice -d /data --ws-external --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 node_bob: build: context: . ports: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/substrate:bbqb volumes: - "substrate-data-bob:/data" links: - "node_alice:alice" command: substrate --chain=local purge-chain --validator --bob -d /data --port 30344 --rpc-port 9935 --ws-port 9945 --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 ui: image: chevdor/polkadot-ui ports: - "80:80" volumes: substrate-data-alice: substrate-data-bob: networks: testing_net: ipam: driver: default config: - subnet: 172.28.0.0/16 -
chevdor revised this gist
Apr 22, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ == Polkadot === Local 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 === 5 nodes -
chevdor revised this gist
Apr 22, 2019 . 4 changed files with 10 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ == Polkadot === Local wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/d975328a070583a6d42cb2f5baf0732461c8465a/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 === 5 nodes This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ services: image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 @@ -27,7 +27,7 @@ services: - "polkadot-data-bob:/data" links: - "node_alice:alice" command: polkadot --chain=local --validator --bob -d /data --port 30344 --rpc-port 9935 --ws-port 9945 --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 @@ -42,7 +42,7 @@ services: - "polkadot-data-charlie:/data" links: - "node_alice:alice" command: polkadot --chain=local --validator --charlie -d /data --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.3 @@ -57,7 +57,7 @@ services: - "polkadot-data-dave:/data" links: - "node_alice:alice" command: polkadot --chain=local --validator --dave -d /data --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.4 @@ -72,7 +72,7 @@ services: - "polkadot-data-eve:/data" links: - "node_alice:alice" command: polkadot --chain=local --validator --eve -d /data --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.5 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ services: image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 @@ -27,7 +27,7 @@ services: - "polkadot-data-bob:/data" links: - "node_alice:alice" command: polkadot --chain=local --validator --bob -d /data --port 30344 --rpc-port 9935 --ws-port 9945 --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ services: image: chevdor/substrate:bbqb volumes: - "substrate-data-alice:/data" command: substrate --chain=local purge-chain --ws-external --validator --alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 networks: testing_net: ipv4_address: 172.28.1.1 @@ -27,7 +27,7 @@ services: - "substrate-data-bob:/data" links: - "node_alice:alice" command: substrate --chain=local --validator --bob -d /data --port 30344 --rpc-port 9935 --ws-port 9945 --bootnodes '/ip4/172.28.1.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN' networks: testing_net: ipv4_address: 172.28.1.2 -
chevdor revised this gist
Apr 22, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ == Polkadot === Local wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/d975328a070583a6d42cb2f5baf0732461c8465a/docker-compose-local.yml -O /tmp/dcp-local.yml && export VERSION=0.2.17 && docker pull chevdor/polkadot:$VERSION && docker-compose -f /tmp/dcp-local.yml up --force-recreate === 5 nodes -
chevdor revised this gist
Apr 22, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ == Polkadot === Local wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/d975328a070583a6d42cb2f5baf0732461c8465a/docker-compose-local.yml -O /tmp/dcp-local.yml && VERSION=0.4.3-d3cbe655 docker-compose -f /tmp/dcp-local.yml up --force-recreate === 5 nodes -
chevdor revised this gist
Apr 22, 2019 . 2 changed files with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --key Alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -22,7 +22,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-bob:/data" links: @@ -37,7 +37,7 @@ services: context: . ports: - "30335:30333" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-charlie:/data" links: @@ -52,7 +52,7 @@ services: context: . ports: - "30336:30333" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-dave:/data" links: @@ -67,7 +67,7 @@ services: context: . ports: - "30337:30333" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-eve:/data" links: This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --key Alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -22,7 +22,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/polkadot:${VERSION} volumes: - "polkadot-data-bob:/data" links: -
chevdor revised this gist
Apr 22, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ == Polkadot === Local wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/3d91339503ce12c8a04e4f2566bc191130cdf213/docker-compose-local.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate === 5 nodes -
chevdor revised this gist
Apr 22, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ services: - "30333:30333" - "9933:9933" - "9944:9944" image: chevdor/polkadot:latest volumes: - "polkadot-data-alice:/data" command: polkadot --chain=local --ws-external --validator --key Alice -d /data --node-key 0000000000000000000000000000000000000000000000000000000000000001 @@ -22,7 +22,7 @@ services: - "30344:30344" - "9935:9935" - "9945:9945" image: chevdor/polkadot:latest volumes: - "polkadot-data-bob:/data" links: -
chevdor revised this gist
Apr 21, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ == Polkadot === Local wget https://gist.github.com/chevdor/be461d11c56baecb0e7bbcb920e964fb/raw/08c08a845187a9ba586e74bbd0cb248199d4e400/docker-compose-local.yml -O /tmp/dcp-local.yml && docker-compose -f /tmp/dcp-local.yml up --force-recreate === 5 nodes
NewerOlder