From fd6991a6ab21a9fbe82ba545a90681ac07b83257 Mon Sep 17 00:00:00 2001 From: squidbear <379651+czarly@users.noreply.github.com> Date: Mon, 31 Mar 2025 08:44:48 +0200 Subject: [PATCH] fix --- viction/node/viction-mainnet-node-archive-leveldb-hash.yml | 5 ++--- viction/node/viction-mainnet-node-pruned-leveldb-hash.yml | 5 ++--- viction/node/viction-testnet-node-archive-leveldb-hash.yml | 3 +-- viction/node/viction-testnet-node-pruned-leveldb-hash.yml | 3 +-- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/viction/node/viction-mainnet-node-archive-leveldb-hash.yml b/viction/node/viction-mainnet-node-archive-leveldb-hash.yml index a000dbe8..799227fe 100644 --- a/viction/node/viction-mainnet-node-archive-leveldb-hash.yml +++ b/viction/node/viction-mainnet-node-archive-leveldb-hash.yml @@ -12,7 +12,7 @@ services: - "10184:10184/tcp" - "10184:10184/udp" volumes: - - viction-mainnet-node-archive-leveldb-hash:/data + - viction-mainnet-node-archive-leveldb-hash:/tomochain/data networks: - chains env_file: @@ -20,10 +20,9 @@ services: environment: EXTIP: "${IP}" 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: - --tomox - - --tomox.datadir=/data/tomox - --gcmode=archive - --syncmode=full - --rpcapi=eth,debug,net,db,admin,web3 diff --git a/viction/node/viction-mainnet-node-pruned-leveldb-hash.yml b/viction/node/viction-mainnet-node-pruned-leveldb-hash.yml index ab501039..89756e09 100644 --- a/viction/node/viction-mainnet-node-pruned-leveldb-hash.yml +++ b/viction/node/viction-mainnet-node-pruned-leveldb-hash.yml @@ -12,7 +12,7 @@ services: - "10670:10670/tcp" - "10670:10670/udp" volumes: - - viction-mainnet-node-pruned-leveldb-hash:/data + - viction-mainnet-node-pruned-leveldb-hash:/tomochain/data networks: - chains env_file: @@ -20,10 +20,9 @@ services: environment: EXTIP: "${IP}" 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: - --tomox - - --tomox.datadir=/data/tomox - --gcmode=full - --syncmode=full - --rpcapi=eth,debug,net,db,admin,web3 diff --git a/viction/node/viction-testnet-node-archive-leveldb-hash.yml b/viction/node/viction-testnet-node-archive-leveldb-hash.yml index 6169a960..21eb3d7d 100644 --- a/viction/node/viction-testnet-node-archive-leveldb-hash.yml +++ b/viction/node/viction-testnet-node-archive-leveldb-hash.yml @@ -12,7 +12,7 @@ services: - "10689:10689/tcp" - "10689:10689/udp" volumes: - - viction-testnet-node-archive-leveldb-hash:/data + - viction-testnet-node-archive-leveldb-hash:/tomochain/data networks: - chains env_file: @@ -23,7 +23,6 @@ services: command: - --tomox - - --tomox.datadir=/data/tomox - --gcmode=archive - --syncmode=full - --rpcapi=eth,debug,net,db,admin,web3 diff --git a/viction/node/viction-testnet-node-pruned-leveldb-hash.yml b/viction/node/viction-testnet-node-pruned-leveldb-hash.yml index a576962a..e187be52 100644 --- a/viction/node/viction-testnet-node-pruned-leveldb-hash.yml +++ b/viction/node/viction-testnet-node-pruned-leveldb-hash.yml @@ -12,7 +12,7 @@ services: - "10254:10254/tcp" - "10254:10254/udp" volumes: - - viction-testnet-node-pruned-leveldb-hash:/data + - viction-testnet-node-pruned-leveldb-hash:/tomochain/data networks: - chains env_file: @@ -23,7 +23,6 @@ services: command: - --tomox - - --tomox.datadir=/data/tomox - --gcmode=full - --syncmode=full - --rpcapi=eth,debug,net,db,admin,web3