git clone git@github.com:Prime1Code/mangui.git
cd mangui
Just start the script below. It builds the artifacts and creates a Docker environment with
mongo databasebackend appfrontend web appnginx-proxy./createDockerImagesAndRunLocally.sh
Head over to localhost/login and use username and password from the .env
file (MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD).
[!NOTE]
Default value for username and password isadmin
[!NOTE]
Change the default value ofMANGUI_JWT_SECRET_VALUE, if your app runs inproductionmode
If you want to use pre-built Docker images, then replace this line inside createDockerImagesAndRunLocally.sh
docker-compose -f docker-compose-local.yml up --force-recreate -d
with
docker-compose -f docker-compose-local-hub.yml up --force-recreate -d