alastria/alastria-node

Installation of regular node does not allow choose of "data" directory

alejandroalffer opened this issue · 1 comments

In earlier versions of general node installation script the data volume can be choose, and these feature has been removed. The current ledger size is close to 40Gb, and its a good practique, specially in a Docker enviroment, or shared servers keep the data volume in out of node working directory

[...]
function setVolume {
  echo "Set the absolute path of the data directory (ENTER default: pwd): "
  read DATA_DIR
  echo ""
  WORK_DIR="$(pwd)"/alastria
  DATA_DIR=${DATA_DIR:-$WORK_DIR}
}
[...]

I'm fixing current init.sh file to make it work again, and extend this option to the Dockerfile

Resolved in alastria-node-t branch, as the new proporsal for direct way for installation of AlastriaT node.