This commit is contained in:
Sebastian
2024-03-23 04:42:19 +01:00
parent 27783acb28
commit 99eaf640f3
3 changed files with 7 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ version: '3.1'
services:
erigon-mainnet-fullnode:
image: thorax/erigon:${ERIGON_VERSION:-v2.58.1}
image: thorax/erigon:${ERIGON_VERSION:-v2.59.0}
user: root
expose:
- "16630"

View File

@@ -3,7 +3,7 @@ version: '3.1'
services:
erigon-gnosis-fullnode:
image: thorax/erigon:${ERIGON_VERSION:-v2.58.1}
image: thorax/erigon:${ERIGON_VERSION:-v2.59.0}
user: root
volumes:
- "gnosis-fullnode_data:/datadir"

View File

@@ -42,9 +42,12 @@ for key in $keys; do
newest_file=$(ls -1 "$backup_dir"/"$volume_name"* | sort | tail -n 1)
if [ -z "$newest_file" ]; then
if [ -z "$2" ]; then
echo "Error: No backup found for volume '$volume_name'"
exit 1
fi
fi
required_space=$(calculate_required_space "$(basename "$newest_file")")