mikeki / parity

test project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A typical project for starting blockchain nodes

The project consists of:

  • two parity containers;
  • performance monitoring stack with containers prometheus, node-exporter, cadvisor, alert-manager, grafana taken from here with several fixes;
  • parity metric exporter from here;
  • log monitoring stack with containers elasticsearch, logstash, kibana, logspout inspired by this and this.

Pre-requisites

Install the latest version of docker on your Docker host machine. Ensure that you have enough space for parity chains db.

Installation & Configuration

Clone the project locally to your Docker host.

Get into project directory and run

$ docker-compose up -d

As Kibana does not provide provisioning - you'll have to create indexes and filters yourself

Usage

Grafana will be avalibale at http://your_ip:3000 with admin:foobar

Kibana will be avaliable http://your_ip:5601

ToDo list

  • setup alerts;
  • configure storage and garbage collectors;
  • get logs from only application containers;
  • create kibana dashboards.

Security Considerations

This project is intended to be a quick-start to get up and running. Security has not been implemented in this project. It is the users responsability to implement Firewall/IpTables and SSL.

Since this is a template to get started all services are exposing their ports to allow for easy troubleshooting and understanding of how the stack works.

For production usage consider installing containers at Kubernetes or at least Swarm.

About

test project