This commit is contained in:
squidbear
2025-03-31 08:44:48 +02:00
parent 04f23897b4
commit fd6991a6ab
4 changed files with 6 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ services:
- "10184:10184/tcp" - "10184:10184/tcp"
- "10184:10184/udp" - "10184:10184/udp"
volumes: volumes:
- viction-mainnet-node-archive-leveldb-hash:/data - viction-mainnet-node-archive-leveldb-hash:/tomochain/data
networks: networks:
- chains - chains
env_file: env_file:
@@ -20,10 +20,9 @@ services:
environment: environment:
EXTIP: "${IP}" EXTIP: "${IP}"
P2P_PORT: 10184 P2P_PORT: 10184
SNAPSHOT_CMD: 'mkdir -p /data/tomo/chaindata; wget -c https://snapshot.viction.xyz/archive-node/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /data/tomo/chaindata; mkdir -p /data/tomox; wget -c https://snapshot.viction.xyz/archive-node/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /data/tomox' SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; wget -c https://snapshot.viction.xyz/archive-node/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomo/chaindata; mkdir -p /tomochain/data/tomox; wget -c https://snapshot.viction.xyz/archive-node/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomox'
command: command:
- --tomox - --tomox
- --tomox.datadir=/data/tomox
- --gcmode=archive - --gcmode=archive
- --syncmode=full - --syncmode=full
- --rpcapi=eth,debug,net,db,admin,web3 - --rpcapi=eth,debug,net,db,admin,web3

View File

@@ -12,7 +12,7 @@ services:
- "10670:10670/tcp" - "10670:10670/tcp"
- "10670:10670/udp" - "10670:10670/udp"
volumes: volumes:
- viction-mainnet-node-pruned-leveldb-hash:/data - viction-mainnet-node-pruned-leveldb-hash:/tomochain/data
networks: networks:
- chains - chains
env_file: env_file:
@@ -20,10 +20,9 @@ services:
environment: environment:
EXTIP: "${IP}" EXTIP: "${IP}"
P2P_PORT: 10670 P2P_PORT: 10670
SNAPSHOT_CMD: 'mkdir -p /data/tomo/chaindata; wget -c https://snapshot.viction.xyz/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /data/tomo/chaindata; mkdir -p /data/tomox; wget -c https://snapshot.viction.xyz/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /data/tomox' SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; wget -c https://snapshot.viction.xyz/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomo/chaindata; mkdir -p /tomochain/data/tomox; wget -c https://snapshot.viction.xyz/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomox'
command: command:
- --tomox - --tomox
- --tomox.datadir=/data/tomox
- --gcmode=full - --gcmode=full
- --syncmode=full - --syncmode=full
- --rpcapi=eth,debug,net,db,admin,web3 - --rpcapi=eth,debug,net,db,admin,web3

View File

@@ -12,7 +12,7 @@ services:
- "10689:10689/tcp" - "10689:10689/tcp"
- "10689:10689/udp" - "10689:10689/udp"
volumes: volumes:
- viction-testnet-node-archive-leveldb-hash:/data - viction-testnet-node-archive-leveldb-hash:/tomochain/data
networks: networks:
- chains - chains
env_file: env_file:
@@ -23,7 +23,6 @@ services:
command: command:
- --tomox - --tomox
- --tomox.datadir=/data/tomox
- --gcmode=archive - --gcmode=archive
- --syncmode=full - --syncmode=full
- --rpcapi=eth,debug,net,db,admin,web3 - --rpcapi=eth,debug,net,db,admin,web3

View File

@@ -12,7 +12,7 @@ services:
- "10254:10254/tcp" - "10254:10254/tcp"
- "10254:10254/udp" - "10254:10254/udp"
volumes: volumes:
- viction-testnet-node-pruned-leveldb-hash:/data - viction-testnet-node-pruned-leveldb-hash:/tomochain/data
networks: networks:
- chains - chains
env_file: env_file:
@@ -23,7 +23,6 @@ services:
command: command:
- --tomox - --tomox
- --tomox.datadir=/data/tomox
- --gcmode=full - --gcmode=full
- --syncmode=full - --syncmode=full
- --rpcapi=eth,debug,net,db,admin,web3 - --rpcapi=eth,debug,net,db,admin,web3