Coder Social home page Coder Social logo

kinggorrin / znndnode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 0x3639/znndnode

0.0 0.0 0.0 14.45 MB

znnd Node with docker hosts and containers monitoring with Prometheus, Grafana, Loki, cAdvisor, NodeExporter, AlertManager, Uptime Kuma, and Monit

License: MIT License

Python 70.21% Dockerfile 29.79%

znndnode's Introduction

znndNode

Easily run a node for Zenon Network on Docker with a full suite of open source monitoring, alerting, and servicing tools. The Docker Containers includes:

Quick Start

Install Ubuntu Desktop or Server and Update

sudo apt update && sudo apt upgrade

Install Dependencies

sudo apt install git && sudo apt install curl

Install Docker

cd ~
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Confirm Docker is installed correctly

docker -v

Clone the znndNode Repository and Submodules

git clone --recurse-submodules https://github.com/0x3639/znndNode.git

Update the .env file with the correct Domain Name and Public IP address

cd znndNode
nano .env

Change the Domain and Public IP Variables

DOMAIN=example.com #UPDATE THE DOMAIN NAME
PUBLIC_IP=1.1.1.1 #UPDATE THE IP ADDRESS
ADMIN_USER=admin
ADMIN_PASSWORD=admin
ADMIN_PASSWORD_HASH=$2a$14$1l.IozJx7xQRVmlkEQ32OeEEfP5mRxTpbDTCTcXRqn19gXD8YK1pO
GF_SECURITY_ADMIN_USER=admin
GF_SECURITY_ADMIN_PASSWORD=admin
GF_USERS_ALLOW_SIGN_UP=false
GF_INSTALL_PLUGINS=marcusolsson-json-datasource

Save and exit ctrl-x

Ensure the following ports are open and forwarded to the private node IP address

TCP: 3000, 35995, 35997, 35998, 80, 443 UDP: 35995

IMPORTANT: Make sure to insert an A Record at your DNS provider pointing the domain name (setup above) to the IP address (setup above) of your server.

Start the Docker stack

cd ~/znndNode
sudo docker compose up -d

Docker images will be built or downloaded and configured. After all image are started you can check to make sure the images are running with the following command. Make sure you are in the /znndNode directory.

sudo docker compose ps

Log into grafana and setup a new password

https://example.com:3000 #Replace example.com with the domain you setup above.

Default User ID = admin Password = admin

Node Access

Replace example.com with your domain name

  • Grafana Access https://example.com:3000
  • SYRIUS Access wss://example.com:35998
  • API Access https://example.com:35997
  • Check Sync Status curl -X GET https://example.com:35997 -H "content-type: application/json" -d '{"jsonrpc": "2.0", "id": 40, "method": "stats.syncInfo", "params": []}'

znndnode's People

Contributors

nightah avatar stefanprodan avatar 0x3639 avatar sakkiii avatar scottbrenner avatar sebthemonster avatar howiezhao avatar ntimo avatar yunchih avatar dbachko avatar b3nk3 avatar bhumijgupta avatar appleboy avatar dlh avatar davidalger avatar guykh avatar halcyondude avatar ncareau avatar pascalandy avatar ptemplier avatar sebastianzillessen avatar mchukhrii avatar philyuchkoff avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.