This project supports two installation methods:
Best for:
- Developers
- VPS / Linux hosts
- Advanced users
- Reproducible setups
Use the provided docker-compose.yml.
Best for:
- Unraid users
- GUI-based setup
- One-click installs
An Unraid-compatible XML template is provided in:
Import the template via Unraid → Docker → Add Container → Template URL.
Both methods use the same entrypoint and configuration logic.
To build the image yourself use docker build .
If you have anything to improve this repository, feel free to add a new issue/discussion with feedback
This container explicitly launches Sapiens in PUBLIC mode using the -public flag.
If the server starts in LAN mode, it will not appear in the public server list even though direct IP connections still work.
Environment variables:
PUBLIC_MODE=true(required for listing)UDP_PORT=16161BUGREPORT_OPTIN=true(recommended)
After first boot, allow up to 24 hours for public listing propagation.
🐳 Deployment (Unraid / Docker) Build and start the server
From the root of your cloned repository:
docker compose build --no-cache docker compose up -d
This will:
Build the Sapiens dedicated server image
Start the container in public server mode
Persist world data using a Docker volume
View server logs
To follow the server startup and runtime logs:
docker logs -f sapiens
✅ Verify public server mode
On startup, confirm that the log output does NOT contain:
Starting LAN server
If this message appears, the server has started in LAN/private mode and will not appear in the public server list (even though direct IP connections may still work).
This setup explicitly forces public mode, so seeing this message would indicate an upstream engine behavior rather than a container or configuration issue.
🌍 Public server listing
Once running:
The server should accept direct IP connections immediately
Appearance in the public server list may take minutes to several hours
In some cases, the master server cache can take up to 24 hours to refresh
This delay is normal and does not indicate a networking or configuration problem.