Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 24 additions & 32 deletions docker-compose.localnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,18 @@ services:
volumes:
- subtensor-alice:/tmp/blockchain
command:
- /bin/bash
- -c
- |
node-subtensor \
--base-path /tmp/blockchain \
--chain localnet.json \
--rpc-external \
--rpc-methods=unsafe \
--alice \
--port 30334 \
--rpc-port 9944 \
--validator \
--rpc-cors=all \
--allow-private-ipv4 \
--discover-local \
--unsafe-force-node-key-generation
- --base-path=/tmp/blockchain
- --chain=/localnet.json
- --rpc-external
- --rpc-methods=unsafe
- --alice
- --port=30334
- --rpc-port=9944
- --validator
- --rpc-cors=all
- --allow-private-ipv4
- --discover-local
- --unsafe-force-node-key-generation

bob:
<<: *common
Expand All @@ -56,19 +52,15 @@ services:
volumes:
- subtensor-bob:/tmp/blockchain
command:
- /bin/bash
- -c
- |
node-subtensor \
--base-path /tmp/blockchain \
--chain localnet.json \
--bob \
--rpc-methods=unsafe \
--rpc-external \
--port 30335 \
--rpc-port 9945 \
--validator \
--rpc-cors=all \
--allow-private-ipv4 \
--discover-local \
--unsafe-force-node-key-generation
- --base-path=/tmp/blockchain
- --chain=/localnet.json
- --rpc-external
- --rpc-methods=unsafe
- --bob
- --port=30335
- --rpc-port=9945
- --validator
- --rpc-cors=all
- --allow-private-ipv4
- --discover-local
- --unsafe-force-node-key-generation
76 changes: 32 additions & 44 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,68 +33,56 @@ services:
volumes:
- mainnet-lite-volume:/tmp/blockchain
command:
- /bin/bash
- -c
- |
node-subtensor \
--base-path /tmp/blockchain \
--chain raw_spec_finney.json \
--rpc-external --rpc-cors all \
--no-mdns \
--bootnodes /dns/bootnode.finney.chain.opentensor.ai/tcp/30333/ws/p2p/12D3KooWRwbMb85RWnT8DSXSYMWQtuDwh4LJzndoRrTDotTR5gDC \
--sync warp
- --base-path=/tmp/blockchain
- --chain=/raw_spec_finney.json
- --rpc-external
- --rpc-cors=all
- --no-mdns
- --bootnodes=/dns/bootnode.finney.chain.opentensor.ai/tcp/30333/ws/p2p/12D3KooWRwbMb85RWnT8DSXSYMWQtuDwh4LJzndoRrTDotTR5gDC
- --sync=warp

mainnet-archive:
<<: *common
container_name: subtensor-mainnet-archive
volumes:
- mainnet-archive-volume:/tmp/blockchain
command:
- /bin/bash
- -c
- |
node-subtensor \
--base-path /tmp/blockchain \
--chain raw_spec_finney.json \
--rpc-external --rpc-cors all \
--no-mdns \
--bootnodes /dns/bootnode.finney.chain.opentensor.ai/tcp/30333/ws/p2p/12D3KooWRwbMb85RWnT8DSXSYMWQtuDwh4LJzndoRrTDotTR5gDC \
--pruning=archive
- --base-path=/tmp/blockchain
- --chain=/raw_spec_finney.json
- --rpc-external
- --rpc-cors=all
- --no-mdns
- --bootnodes=/dns/bootnode.finney.chain.opentensor.ai/tcp/30333/ws/p2p/12D3KooWRwbMb85RWnT8DSXSYMWQtuDwh4LJzndoRrTDotTR5gDC
- --pruning=archive

testnet-lite:
<<: *common
container_name: subtensor-testnet-lite
volumes:
- testnet-lite-volume:/tmp/blockchain
command:
- /bin/bash
- -c
- |
node-subtensor \
--base-path /tmp/blockchain \
--chain raw_spec_testfinney.json \
--rpc-external --rpc-cors all \
--no-mdns \
--bootnodes /dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr \
--sync warp
--reserved-nodes /dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr \
--reserved-only
- --base-path=/tmp/blockchain
- --chain=/raw_spec_testfinney.json
- --rpc-external
- --rpc-cors=all
- --no-mdns
- --bootnodes=/dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr
- --sync=warp
- --reserved-nodes=/dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr
- --reserved-only

testnet-archive:
<<: *common
container_name: subtensor-testnet-archive
volumes:
- testnet-archive-volume:/tmp/blockchain
command:
- /bin/bash
- -c
- |
node-subtensor \
--base-path /tmp/blockchain \
--chain raw_spec_testfinney.json \
--rpc-external --rpc-cors all \
--no-mdns \
--bootnodes /dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr \
--pruning=archive
--reserved-nodes /dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr \
--reserved-only
- --base-path=/tmp/blockchain
- --chain=/raw_spec_testfinney.json
- --rpc-external
- --rpc-cors=all
- --no-mdns
- --bootnodes=/dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr
- --pruning=archive
- --reserved-nodes=/dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr
- --reserved-only
Loading