This commit is contained in:
squidbear
2025-03-31 09:54:52 +02:00
parent 6ba821f721
commit 5a0915d68c
2 changed files with 8 additions and 8 deletions

View File

@@ -2,15 +2,15 @@
services:
viction-mainnet-archive-download:
image: alpine:latest
environment:
- SNAPSHOT_URL=https://snapshot.viction.xyz/archive-node
volumes:
- viction-mainnet-node-archive-leveldb-hash:/tomochain/data
entrypoint: ["sh", "-c", "apk add --no-cache wget tar zstd && echo 'Running with wget, tar, and zstd' && eval \"$SNAPSHOT_CMD\" && tail -f /dev/null"]
- ./tomochain/scripts/download.node.sh:/download.sh
command: /bin/sh -c "chmod +x /download.sh && /download.sh"
restart: "no"
environment:
SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; rm -rf /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/dats/tomox; rm -rf /tomochain/data/tomox/*; wget -c https://snapshot.viction.xyz/archive-node/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomox'
profiles:
- manual
tty: true
viction-mainnet-archive-client:
image: buildonviction/node:v2.4.5

View File

@@ -2,15 +2,15 @@
services:
viction-mainnet-download:
image: alpine:latest
environment:
- SNAPSHOT_URL=https://snapshot.viction.xyz
volumes:
- viction-mainnet-node-pruned-leveldb-hash:/tomochain/data
entrypoint: ["sh", "-c", "apk add --no-cache wget tar zstd && echo 'Running with wget, tar, and zstd' && eval \"$SNAPSHOT_CMD\" && tail -f /dev/null"]
- ./tomochain/scripts/download.node.sh:/download.sh
command: /bin/sh -c "chmod +x /download.sh && /download.sh"
restart: "no"
environment:
SNAPSHOT_CMD: 'mkdir -p /tomochain/data/tomo/chaindata; rm -rf /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/dats/tomox; rm -rf /tomochain/data/tomox/*; wget -c https://snapshot.viction.xyz/TOMOX_DATA.tar.zst -O - | tar zstd xvf -C /tomochain/data/tomox'
profiles:
- manual
tty: true
viction-mainnet-client:
image: buildonviction/node:v2.4.5