This commit is contained in:
squidbear
2025-03-31 08:40:11 +02:00
parent 098991a688
commit 95c74c917d
4 changed files with 10 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:/tomochain/data - viction-mainnet-node-archive-leveldb-hash:/data
networks: networks:
- chains - chains
env_file: env_file:
@@ -20,11 +20,11 @@ services:
environment: environment:
EXTIP: "${IP}" EXTIP: "${IP}"
P2P_PORT: 10184 P2P_PORT: 10184
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 /chaindata/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' 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'
command: command:
- --gcmode=archive - --gcmode=archive
- --syncmode=full - --syncmode=full
- --rpcapi "eth,debug,net,db,admin,web3" - --rpcapi=eth,debug,net,db,admin,web3
restart: unless-stopped restart: unless-stopped
viction-mainnet-archive: viction-mainnet-archive:

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:/tomochain/data - viction-mainnet-node-pruned-leveldb-hash:/data
networks: networks:
- chains - chains
env_file: env_file:
@@ -20,11 +20,11 @@ services:
environment: environment:
EXTIP: "${IP}" EXTIP: "${IP}"
P2P_PORT: 10670 P2P_PORT: 10670
SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; wget -c https://snapshot.viction.xyz/CHAIN_DATA.tar.zst -O - | tar zstd xvf -C /chaindata/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' 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'
command: command:
- --gcmode=full - --gcmode=full
- --syncmode=full - --syncmode=full
- --rpcapi "eth,debug,net,db,admin,web3" - --rpcapi=eth,debug,net,db,admin,web3
restart: unless-stopped restart: unless-stopped
viction-mainnet: viction-mainnet:

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:/tomochain/data - viction-testnet-node-archive-leveldb-hash:/data
networks: networks:
- chains - chains
env_file: env_file:
@@ -24,7 +24,7 @@ services:
command: command:
- --gcmode=archive - --gcmode=archive
- --syncmode=full - --syncmode=full
- --rpcapi "eth,debug,net,db,admin,web3" - --rpcapi=eth,debug,net,db,admin,web3
restart: unless-stopped restart: unless-stopped
viction-testnet-archive: viction-testnet-archive:

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:/tomochain/data - viction-testnet-node-pruned-leveldb-hash:/data
networks: networks:
- chains - chains
env_file: env_file:
@@ -24,7 +24,7 @@ services:
command: command:
- --gcmode=full - --gcmode=full
- --syncmode=full - --syncmode=full
- --rpcapi "eth,debug,net,db,admin,web3" - --rpcapi=eth,debug,net,db,admin,web3
restart: unless-stopped restart: unless-stopped
viction-testnet: viction-testnet: