This will build and deploy the following containers on your Docker host:
- nano-node -- This is the official NANO node created from the official NANO Docker Image (RPC is enabled but not publicly exposed).
- nano-node-monitor -- This is the popular NANO Node Monitor PHP application based on NanoTools's Docker image.
- nano-node-watchdog -- This is custom lightweight watcher container checking on node's health status every hour (checking code adapted from dbachm123's nanoNodeScripts).
- watchtower -- A process for watching your Docker containers and automatically restarting them whenever their base image like the NANO Node is upgraded.
Optionally, if a domain name is available for the host, NANO Docker Stack can also serve NANO Node Monitor through an secure connection (HTTPS). If this feature is enabled (using the -d
argument with the setup script below), the stack also includes the following containers:
-
nginx-proxy -- An instance of the popular Nginx web server running in a reverse proxy setup, serving as a gateway for all incoming requests 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.
Open a bash terminal and fire up the installation script:
$ ./setup.sh -s
That's it! You can now navigate to your host IP to check your Nano Node Monitor dashboard.
Open a bash terminal and fire up the installation script with the domain (-d) argument:
$ ./setup.sh -sd mydomain.com -e [email protected]
The email (-e) argument is optional and would 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!
Please check the wiki for more detailed instructions on how to self-configure the NANO Node Docker Stack.