git clone git@github.com:Prime1Code/mangui.git
cd mangui
Create a directory for your Mangui app.
mkdir mangui
cd mangui
Your folder structure should already look like this.
The project comes with all the necessary
files in the corresponding folders.
├── mangui
│ ├── certs
│ ├── conf
│ │ └── client_max_body_size.conf
│ ├── docker-compose-server-hub.yml
│ ├── .env
│ ├── vhost
│ │ ├── default
│ │ └── <vhost>_location
[!NOTE]
Default value for username and password isadmin
[!IMPORTANT]
You have to rename the<vhost>_location
file to yourMANGUI_VHOST
orVIRTUAL_HOST
value.
[!NOTE]
Edit theclient_max_body_size.conf
file to set the max upload size for file imports via the web app. The size has to match the valueMANGUI_MAX_FILE_SIZE
in thedocker-compose-server-hub.yml
file (see below).
[!NOTE]
Change the default value ofMANGUI_JWT_SECRET_VALUE
, if your app runs inproduction
mode
Edit the .env
file to configure the necessary properties for the backend app and containers
Optionally
edit the docker-compose-server-hub.yml
file to configure volumes or ports if needed.
Start your Mangui app with the following CLI command
docker compose -f docker-compose-server-hub.yml up --force-recreate -d
If you’re experiencing issues connecting to your Mangui instance, consider the following checks:
https://subdomain.yourdomain.com/
).127.0.0.1:27017->27018
).<directory>_mangui
. This network must be explicitly defined for each container in your
docker-compose-server-hub.yml
file.Secure
attribute