https://github.com/chevdor/docker-supernet
Docker container for Supernet
https://github.com/chevdor/docker-supernet
blockchain nxt
Last synced: about 1 year ago
JSON representation
Docker container for Supernet
- Host: GitHub
- URL: https://github.com/chevdor/docker-supernet
- Owner: chevdor
- Created: 2015-07-10T23:28:23.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-29T09:37:00.000Z (about 10 years ago)
- Last Synced: 2025-03-18T01:51:24.126Z (about 1 year ago)
- Topics: blockchain, nxt
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
# docker-supernet
Docker container to run Supernet v1 and v2
See https://registry.hub.docker.com/u/chevdor/docker-supernet/
## Intro
### Supernet v3
The images has been once again significantly slimmed down.
Here is an example that will bring Supernet at http://localhost:7117
docker run -p 7117:7110 -d --name supernetv3 chevdor/docker-supernet:3.0.7
### Supernet v2
The v2 image is based on nginx (and thus is much smaller than v1!)
docker run -p 80:80 -d --name supernetv2 chevdor/docker-supernet:2.0.5-beta
### Supernet v1
This image is based on phusion/baseimage for Supernet v1. It installs java and the latest Supernet software.
docker run -it -p 6876:6876 chevdor/docker-supernet:1.5.12.1
However, you may request the container to run on the mainnet by specifying the ENV variable as shown below:
docker run -it -p 7876:7876 -e "NXTNET=main" --name supernetv1 chevdor/docker-supernet:1.5.12.1
NOTE: Any other value than “main” for the NXTNET variable will make your container run on mainnet.
WARNING: When you start the container for v1, it will immediately connect and start downloading the blockchain. The testnet blockchain is much smaller than the mainnet blockchain (which is why the container default to testnet unless you specifically say you want to run on the mainnet). In any case, downloading the blockchain may take up to several hours. Be patient!