fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user