Skip to content

Microservice to receive server data, analyse them and inform external systems via pull/push interface

License

Notifications You must be signed in to change notification settings

defichain-api/masternode-health

Repository files navigation

DeFiChain Community Project

CI codecov License: MIT

DeFiChain Masternode Health

Masternode Health is a microservice to collect, analyse and inform about the server and masternode stats / health.

All functions can be used with an rest API. Docu can be here.

companion server script

To use this tool in an effective way, we recommend to use the companion python app.

setup Masternode Health by yourself

This service is based on the PHP framework Laravel.

Then copy the .env using cp .env.example .env and then generate a new application key php artisan key:generate. In this file you need to add your own DB and Redis configuration.

After that you need to install the composer dependencies (composer install) and run the database migrations (php artisan migrate).

local testing & development

For local development, you can use the included docker setup (docker-compose up -d). The .env.example is preconfigured for this setup.

Bugs or suggestions?

Open issue or submit a pull request to https://github.com/defichain-api/masternode-health/issues

License

MIT

About

Microservice to receive server data, analyse them and inform external systems via pull/push interface

Resources

License

Stars

Watchers

Forks