Gml.Backend is a comprehensive project designed to facilitate rapid deployment of server infrastructure for Minecraft game profiles, including Forge, Fabric, and LiteLoader. This product suite encompasses three integral services:
- Gml.Web.Api: A RESTful API that provides an interface for interaction with server data.
- Gml.Web.Client: Commonly referred to as the Monitoring Dashboard, this component offers a user-friendly interface for monitoring and administrating game profiles and the launcher.
- Gml.Web.Skin.Service: A service dedicated to the management of textures, allowing for customization and personalization for each player.
Together, these services offer a robust foundation for managing Minecraft game profiles with mods.
Clone the stable version of the repository using the following command:
git clone --recursive https://github.com/GamerVII-NET/Gml.Backend.git
Move to the project directory:
cd Gml.Backend
Create or edit the .env
file in the root of the Gml.Backend
directory. Below is an example configuration:
# User and Group Identifiers for Linux
UID=0
GID=0
# Security key (replace with your own secure key)
SECURITY_KEY=643866c80c46c909332b30600d3265803a3807286d6eb7c0d2e164877c809519
# Project settings
PROJECT_NAME=GmlBackendPanel
PROJECT_DESCRIPTION=
PROJECT_POLICYNAME=GmlServerPolicy
PROJECT_PATH=
# S3 Configuration
S3_ENABLED=true
MINIO_ROOT_USER=GamerVII
MINIO_ROOT_PASSWORD=waefawegferyjerthdrthrtrdthdr
# External Access Settings
MINIO_ADDRESS=:5009
MINIO_ADDRESS_PORT=5009
MINIO_CONSOLE_ADDRESS=:5010
MINIO_CONSOLE_ADDRESS_PORT=5010
PORT_GML_BACKEND=5000
PORT_GML_FRONTEND=5003
PORT_GML_FILES=5005
PORT_GML_SKINS=5006
# Microservices
SERVICE_TEXTURE_ENDPOINT=http://gml-web-skins:8085
Create or edit the .env
file in the src/Gml.Web.Client/
directory:
# Web API address
NEXT_PUBLIC_BACKEND_URL=http://localhost:5000/api/v1
Ensure Docker is installed and running on your system. Then, execute the following command to build and start the project:
docker compose up -d --build
Docker will download the necessary images and launch the project. Once the containers are running, you can access the services in your browser at the following addresses:
Note: Starting from version
0.1.0-rc1
, server files are stored in the installation directory. Learn more.
- Web API:
http://localhost:5000
(Main service) - Web Dashboard:
http://localhost:5003
(Requires registration) - Gml.Web.Skin.Service:
http://localhost:5006
(Accessible only within the container)