- Install and configure docker and docker-compose
cd /opt/- open foldergit clone https://github.com/mrz1703/elrond-node.git- clone the repositorycd elrond-node- open the folder with the node- In the file
app/values.ymlspecify the desired version for elrondVersion - nodes and configVersion - configuration files (tag from github is specified) docker-compose up -d --build- build and run the application
After the first launch, all configuration files and a wallet are created automatically (data/elrond-N/config). If necessary, after the first start, you can stop the node and replace the wallet files (data/elrond-N/config/initialBalancesSk.pem and data/elrond-N/config/initialNodesSk.pem).
Config files wallets after first run nodes: /opt/elrond-node/app/data/elrond-N/
docker-compose build- build the applicationdocker-compose up -d- run the multinode in daemon mode.docker-compose logs --tail 100 -f- a command to view logs for a multinode.docker-compose down- stop the multinode.
cd app/- open folderdocker-compose down- manualy stop nodesdocker-compose down -v- manualy stop nodes and remove old databases