This commit is contained in:
Sebastian
2024-03-22 04:54:53 +01:00
parent 366bb8e5e5
commit bae06a4681

View File

@@ -3,12 +3,14 @@
BASEPATH="$(dirname "$0")"
source $BASEPATH/.env
echo "running in $BASEPATH"
#IFS=':' read -ra parts <<< $COMPOSE_FILE
# Add the --init.prune option to the command list
sed -i '/command:/a \ \ - --init.prune' "$BASEPATH/arbitrum-fullnode.yml"
docker-compose -f $BASEPATH/docker-compose.yml up -d
docker-compose -f "$BASEPATH/docker-compose.yml" up -d
while true; do
# Execute SSH command and extract the answer