All Projects → lephleg → nano-node-docker

lephleg / nano-node-docker

Licence: other
Setup a fully automated NANO cryptocurrency node as part of an dockerized stack with fast-syncing and easy SSL support.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to nano-node-docker

Android Swipecards View
Android library to implement cards stack view with swipe to remove feature
Stars: ✭ 162 (+110.39%)
Mutual labels:  stack
Leetcode
High-quality LeetCode solutions
Stars: ✭ 178 (+131.17%)
Mutual labels:  stack
Data Structures
A collection of powerful data structures
Stars: ✭ 2,534 (+3190.91%)
Mutual labels:  stack
Algo Tree
Algo-Tree is a collection of Algorithms and data structures which are fundamentals to efficient code and good software design. Creating and designing excellent algorithms is required for being an exemplary programmer. It contains solutions in various languages such as C++, Python and Java.
Stars: ✭ 166 (+115.58%)
Mutual labels:  stack
React Router Native Stack
A stack navigation component for react-router-native
Stars: ✭ 171 (+122.08%)
Mutual labels:  stack
Stackoverflow Clone
Clone project of a famous Q/A website for developers which is stackoverflow built using MySQL-Express-React-Node 🌐
Stars: ✭ 182 (+136.36%)
Mutual labels:  stack
Notistack
Highly customizable notification snackbars (toasts) that can be stacked on top of each other
Stars: ✭ 2,562 (+3227.27%)
Mutual labels:  stack
Staticvec
Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
Stars: ✭ 236 (+206.49%)
Mutual labels:  stack
Docker Elastic Stack
ELK Stack Dockerfile
Stars: ✭ 175 (+127.27%)
Mutual labels:  stack
C Macro Collections
Easy to use, header only, macro generated, generic and type-safe Data Structures in C
Stars: ✭ 192 (+149.35%)
Mutual labels:  stack
Swarmpit
Lightweight mobile-friendly Docker Swarm management UI
Stars: ✭ 2,255 (+2828.57%)
Mutual labels:  stack
Mean
The MEAN stack uses Mongo, Express, Angular(6) and Node for simple and scalable fullstack js applications
Stars: ✭ 12,125 (+15646.75%)
Mutual labels:  stack
Piladb
Lightweight RESTful database engine based on stack data structures
Stars: ✭ 184 (+138.96%)
Mutual labels:  stack
Interviewbit
Collection of Abhishek Agrawal's gists solutions for problems on https://www.interviewbit.com
Stars: ✭ 166 (+115.58%)
Mutual labels:  stack
Call in stack
Call a function in a new stack that allocated anywhere. Do not be afraid of stack limit in your coroutines! Try to make your stack shareable between all coroutines!
Stars: ✭ 197 (+155.84%)
Mutual labels:  stack
Sc
Common libraries and data structures for C.
Stars: ✭ 161 (+109.09%)
Mutual labels:  stack
Tooling
🧰 Up-to-date list of JavaScript and TypeScript tooling resources
Stars: ✭ 181 (+135.06%)
Mutual labels:  stack
Nano.Net
A .NET library for Nano
Stars: ✭ 19 (-75.32%)
Mutual labels:  nanocurrency
React Native Modalfy
🥞 Modal citizen of React Native.
Stars: ✭ 212 (+175.32%)
Mutual labels:  stack
Interview Questions
List of all the Interview questions practiced from online resources and books
Stars: ✭ 187 (+142.86%)
Mutual labels:  stack

NANO Node Docker

Logo

Description

Install a NANO node on your server with a vast variety of tools in a couple on minutes! 💫

Notice
Nano Node Docker is an automated installer mainly intended to be used for development purposes. Main network nodes with significant delegated amounts shall not be left unattended to upgrade automatically and require special monitoring and security measures.

This project will build and deploy the following containers on your Docker host:

Container name Description
nano-node The NANO node created out of the official NANO Docker Image. RPC is enabled but not publicly exposed. (Renamed to "nano-beta-node" for BETA)
nano-node-monitor The popular NANO Node Monitor PHP application based on NanoTools's Docker image.
watchtower A process watching all the other containers and automatically applying any updates to their base image.

SSL Support with Let's Encrypt

Optionally, if a domain name is available for your host, NANO Node Docker can also serve your monitor securely using HTTPS. If this feature is enabled (using the -d argument with the installer), the stack will also include the following containers:

Container name Description
nginx-proxy An instance of the popular Nginx web server running in a reverse proxy setup. Handles the traffic and serves as a gateway to your host.
nginx-proxy-letsencrypt A lightweight companion container for the nginx-proxy. It allows the creation/renewal of Let's Encrypt certificates automatically.

Quick Start

Download or clone the latest release, open a bash terminal and fire up the installation script:

$ cd ~ && git clone https://github.com/lephleg/nano-node-docker.git && cd ~/nano-node-docker
$ sudo ./setup.sh -s -t V24.0

That's it! You can now navigate to your host IP to check your Nano Node Monitor dashboard. Do not forget to write down your wallet seed as it appears in the output of the installer.

Available command flags/arguments

The following flags are available when running the stack installer:

Flag Argument Description
-t Docker image tag Indicates the explicit tag for the nanocurrency Docker image. Required.
-d your domain name Sets the domain name to be used. Required for SSL-enabled setups.
-e your email address Sets your email for Let's Encrypt certificate notifications. Optional for SSL-enabled setups.
-f - Enables fast-syncing by fetching the latest ledger and placing it into /root/Nano/ inside nano-node container.
-q - Quiet mode. Hides any output.
-s - Prints the unecrypted seed of the node wallet during the setup (WARNING: in most cases you may want to avoid this for security purposes).

NANO Node CLI bash alias

NANO node runs inside the nano-node container. In order to execute commands from its Command Line Interface you'll have to enter the container or execute them by using the following Docker command:

$ docker exec -it nano-node nano_node <command>

For convinience the following shorthand alias is set by the installer:

$ nano-node <command>

Both of the above formats are interchangeable.

Examples

Install with SSL enabled

After your DNS records are setup, fire up the installation script with the domain (-d) argument:

$ sudo ./setup.sh -t V24.0 -d mydomain.com -e [email protected]

The email (-e) argument is optional and would be used by Let's Encrypt to warn you of impeding certificate expiration.

Done! Navigate to your domain name to check your Nano Node Monitor Dashboard over HTTPS!

Install with fast-syncing

NANO Node Docker stack can also bootstrap any newly created node (or an existing one) with the latest ledger files. This implies that you are willing to trust third-party sources for your node history. The latest ledger files are obtained from the NANO Foundation's Yandex disk while My Nano Ninja API handles the extraction and final redirect.

Just add the -f flag to your installer command:

$ sudo ./setup.sh -t V24.0 -f

WARNING: You are strongly adviced to BACKUP your wallet seed before trying to fast-sync an existing node.

Install with a specific NANO node image

From v4.4 onwards, the Nano node image tag argument is required. Please avoid using the :latest tag as it was decomissioned by the Nano Foundation repositories and it won't be updated anymore.

$ sudo ./setup.sh -t V24.0

Note: For the main network, you are strongly advised to follow the instructions by the NANO core team about the most optimal image tag.

Combining installer flags

All the installer flags can be chained, so you can easily combine them like this:

$ sudo ./setup.sh -sft V24.0 -d mydomain.com -e [email protected]

(display seed, apply fast-sync and use Let's Encrypt with your email supplied)

Screenshot

Self-configurable Installation

Please check the wiki for more detailed instructions on how to manually self-configure NANO Node Docker.

Credits

Support

Stargazers over time

If you really liked this tool, just give this project a star ⭐️ so more people get to know it. Cheers! :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].