Docker (www.docker.com) is an open platform making it easier to create, deploy, and run applications by using containers.
This article describes the steps required to run Shellngn on Docker. With Docker, you can easily deploy Shellngn with just a single command. Public Shellngn Docker images are hosted in the Docker Hub repository (
https://hub.docker.com/r/shellngn/pro )
Prerequisite: Install Docker
Run Shellngn Pro Container
- docker run --name shellngn-pro \
--mount source=shellngn-data,target=/home/node/server/data \
-p 8080:8080 -e HOST=0.0.0.0 shellngn/pro:latest
With just a single command, you will have an entire running installation of Shellngn. Browse to the installation at
http://localhost:8080
Environment variables reference:
PORT - (default:8080) - Sets the listening port for the web application.
HOST - (default: 0.0.0.0) - Sets the host to listen on for the web application.
CORS - (default: *) - Cross-origin resource sharing origin.