Skip to content
Merged
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
15 changes: 11 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ volumes:
services:
common: &common
image: ghcr.io/opentensor/subtensor:latest
build:
context: .
dockerfile: Dockerfile
target: subtensor
## Uncomment to build from scratch:
# build:
# context: .
# dockerfile: Dockerfile
# target: subtensor
cpu_count: 4
mem_limit: 40000000000
memswap_limit: 80000000000
Expand Down Expand Up @@ -40,6 +41,9 @@ services:
- --no-mdns
- --bootnodes=/dns/bootnode.finney.chain.opentensor.ai/tcp/30333/ws/p2p/12D3KooWRwbMb85RWnT8DSXSYMWQtuDwh4LJzndoRrTDotTR5gDC
- --sync=warp
- --database paritydb
- --db-cache 4096
- --trie-cache-size 2048

mainnet-archive:
<<: *common
Expand Down Expand Up @@ -70,6 +74,9 @@ services:
- --sync=warp
- --reserved-nodes=/dns/bootnode.test.finney.opentensor.ai/tcp/30333/p2p/12D3KooWPM4mLcKJGtyVtkggqdG84zWrd7Rij6PGQDoijh1X86Vr
- --reserved-only
- --database paritydb
- --db-cache 4096
- --trie-cache-size 2048

testnet-archive:
<<: *common
Expand Down
Loading