Repository navigation
Separate Panel
byteful edited this page Nov 26, 2026
·
2 revisions
Run the panel with Docker or the jar, then point your servers at it. Settings are environment variables in .env (Configuration).
- Get the compose file and
.env:git clone https://github.com/modl-gg/modl.git cd modl cp .env.example .env - Edit
.env:MODL_PORT(host port, default 8080), andMODL_PUBLIC_URLif the panel has a domain. Domain on Cloudflare? Use the built-in Cloudflare Tunnel (no open port): setMODL_TUNNELandMODL_TUNNEL_TOKENtoo. - Start it and read the setup code:
The code is also in the volume:
docker compose up -d docker compose logs modl
docker compose exec modl cat /data/setup-code.txt. - Continue with First Run.
| Item | Value |
|---|---|
| Image |
ghcr.io/modl-gg/modl:${MODL_IMAGE_TAG:-3.0}, following 3.0 patch releases (Updating) |
| Data | volume modl-data at /data (database, uploads, backups) |
| User | uid 1001 |
| Health check | GET /actuator/health |
| Restart policy |
unless-stopped; moving the database in the panel relies on it (Database and Storage) |
| Logs | 3 files of 10 MB |
| Time zone |
TZ in .env, default UTC; sets the nightly backup hour |
| Memory |
MODL_MEMORY_LIMIT in .env, such as 2g, unset by default; Java takes up to 75% of it |
| Host access |
host.docker.internal reaches the host, also on Linux |
Build the image from source: docker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build.
- Download
modl-server-<version>.jarand put it in its own folder. - Copy
.env.examplefrom the repository to.envin that folder and edit it. - Run it from that folder:
java -jar modl-server-<version>.jar
- Open the
/setupaddress it prints (First Run). The code is also indata/setup-code.txt.
Data goes to ./data (MODL_DATA_DIR). Run it under a service manager, for example systemd:
[Unit]
Description=modl
After=network-online.target
[Service]
User=modl
WorkingDirectory=/opt/modl
ExecStart=/usr/bin/java -Xmx2G -jar /opt/modl/modl-server.jar
Restart=on-failure
[Install]
WantedBy=multi-user.targetOn each standalone server or proxy:
- In Settings > General > Minecraft servers > Add server, choose Standalone or proxy and download
connection.yml. The instance API key on the same page also works. - Save it as
plugins/modl/connection.ymland restart:mode: remote remote: url: "https://panel.example.com" api-key: "<key>"
- Paper servers still need PacketEvents.
Servers behind a proxy use behind-proxy instead (Proxy Network). While the panel is unreachable, a remote server keeps retrying and refuses logins.
These keys are full trust (API); keep them on your own servers. For a domain and HTTPS, see HTTPS and Reverse Proxy.
modl is free software under the AGPL-3.0. Source and releases, issues.
Install
- Requirements
- Single Server
- Proxy Network
- Separate Panel
- First Run
- Panel Port and Tunnels
- HTTPS and Reverse Proxy
Configure
- Configuration
- Plugin Files
- Email and Sign-in
- Database and Storage
- AI Moderation
- Replays
- Customizing the Public Pages
Operate
Reference
Help