jo
This commit is contained in:
@@ -2,7 +2,7 @@ version: '3.1'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
erigon-mainnet-fullnode:
|
erigon-mainnet-fullnode:
|
||||||
image: thorax/erigon:${ERIGON_VERSION:-v2.58.1}
|
image: thorax/erigon:${ERIGON_VERSION:-v2.59.0}
|
||||||
user: root
|
user: root
|
||||||
expose:
|
expose:
|
||||||
- "16630"
|
- "16630"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ version: '3.1'
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
erigon-gnosis-fullnode:
|
erigon-gnosis-fullnode:
|
||||||
image: thorax/erigon:${ERIGON_VERSION:-v2.58.1}
|
image: thorax/erigon:${ERIGON_VERSION:-v2.59.0}
|
||||||
user: root
|
user: root
|
||||||
volumes:
|
volumes:
|
||||||
- "gnosis-fullnode_data:/datadir"
|
- "gnosis-fullnode_data:/datadir"
|
||||||
|
|||||||
@@ -42,8 +42,11 @@ for key in $keys; do
|
|||||||
newest_file=$(ls -1 "$backup_dir"/"$volume_name"* | sort | tail -n 1)
|
newest_file=$(ls -1 "$backup_dir"/"$volume_name"* | sort | tail -n 1)
|
||||||
|
|
||||||
if [ -z "$newest_file" ]; then
|
if [ -z "$newest_file" ]; then
|
||||||
echo "Error: No backup found for volume '$volume_name'"
|
|
||||||
exit 1
|
if [ -z "$2" ]; then
|
||||||
|
echo "Error: No backup found for volume '$volume_name'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
required_space=$(calculate_required_space "$(basename "$newest_file")")
|
required_space=$(calculate_required_space "$(basename "$newest_file")")
|
||||||
|
|||||||
Reference in New Issue
Block a user