跳到主要内容

Other Systems

Instructions for installing and configuring the server component of the project on other operating systems that do not have an installer.

Cloning the Repository

Run the following command in your terminal:


git clone --recursive -b v2025.3.2 https://github.com/GamerVII-NET/Gml.Backend.git

Run the following command in your terminal:

cd Gml.Backend

Config File Setup

Edit or create a .env file in the root of the Gml.Backend folder.

# Example of a pre-configured .env

# UID (User Identifier) and GID (Group Identifier) are used
# to specify the user and group ID in Linux.
UID=0
GID=0

SECURITY_KEY=643866c80c46c909332b30600d3265803a3807286d6eb7c0d2e164877c809519
PROJECT_NAME=GmlBackendPanel
PROJECT_DESCRIPTION=
PROJECT_POLICYNAME=GmlServerPolicy
PROJECT_PATH=

# Enable S3 connection
S3_ENABLED=true
# Admin user for the control panel
MINIO_ROOT_USER=GamerVII
# Admin password for the control panel
MINIO_ROOT_PASSWORD=waefawegferyjerthdrthrtrdthdr

# Enable Swagger
SWAGGER_ENABLED=true

# External access settings
# Ports for applications
# Console address (:5009 or 10.2.0.1:5009)
MINIO_ADDRESS=:5009
# Console port (matches the address above)
MINIO_ADDRESS_PORT=5009
# Panel address (:5010 or 10.2.0.1:5010)
MINIO_CONSOLE_ADDRESS=:5010
# Port (matches the address above)
MINIO_CONSOLE_ADDRESS_PORT=5010
# Web API
PORT_GML_BACKEND=5000
# Project management panel
PORT_GML_FRONTEND=5003
# File service
PORT_GML_FILES=5005
# Skins service
PORT_GML_SKINS=5006

# Microservices:
SERVICE_TEXTURE_ENDPOINT=http://gml-web-skins:8085
MARKET_ENDPOINT=https://gml-market.recloud.tech

Running the Project with Docker

Run the following command in your terminal:

docker compose up -f ./docker-compose-prod.yml -d

Please make sure Docker is installed and running on your computer/server to execute this command.

After running the command, Docker will pull the required images and start the project. Once the project is running, you can access it in your browser using http://<your_server_ip>:5003.