Skip to content
Docker-compose configuration for providing karbo masternode service
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env
LICENSE
README.md
bc_preloader_dockerfile
docker-compose.yml

README.md

karbo-node-service

Script package for docker-compose which provides karbo (KRB) master node as a service.

How to install

  1. Prepare environment (link1, link2)
  2. Clone that repository
  3. Create directory in your host which will store blockchain
  4. Edit .env file for setting your optimal preferences
  5. Optional download blockchain bootstrap with next command: docker-compose run karbo-blockchain-preloader
  6. Run your node with next command: docker-compose up -d karbo-node-service

Usage

docker-compose up -d karbo-node-service - starts up node service

docker-compose run karbo-blockchain-preloader - downloads ready-to-use blockchain (read more here)

docker-compose logs karbo-node-service - shows log tty of the node

docker-compose stop karbo-node-service - stops the node

How to maintain

Get a newer node release

  1. docker-compose stop karbo-node-service
  2. docker-compose pull
  3. docker-compose up -d karbo-node-service

Set up cron for automatic update

  1. sudo crontab -e
  2. Add new string to your crontab: cd *<path to your docker-compose.yml>* && docker-compose pull && docker-compose up -d karbo-node-service
  3. Save it
  4. sudo /etc/init.d/cron reload

License

See LICENSE file

You can’t perform that action at this time.