Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Attention!

This repository was deprecated and is no longer maintained, for newer version please go to https://github.com/Karbovanets/karbo-cli-docker

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

About

Docker-compose configuration for providing karbo masternode service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published