尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Lean web dashboard to create, run and manage Minecraft servers on Docker (itzg/docker-minecraft-server). One Go binary, ~10 MB RAM, no database.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A lean web dashboard for itzg/docker-minecraft-server: create, start, update, manage and uninstall Minecraft servers (including modpacks from Modrinth and CurseForge).
Cubeherd runs on the same host as the Minecraft servers and takes next to nothing from them: a single Go binary, around 10 MB of RAM and 0 % CPU when idle, no database. Live data only flows while a page is open.
sudo mkdir -p /srv/cubeherd
docker compose -f deploy/compose.yml up -d --build
Then open http://<host>:8420 and set the admin password on first visit.
The data directory must have the same path inside the container as on the host (/srv/cubeherd:/srv/cubeherd),
because Docker resolves the Minecraft servers' bind mounts on the host.
Requirement: Docker with the Compose plugin on the host.
CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o cubeherd ./cmd/cubeherd
sudo CUBEHERD_DATA=/srv/cubeherd ./cubeherd
| Variable | Default | Meaning |
|---|---|---|
CUBEHERD_DATA | /srv/cubeherd as root, otherwise ./cubeherd-data | Data directory |
CUBEHERD_LISTEN | :8420 | Web server address |
DOCKER_HOST | /var/run/docker.sock, falling back to ~/.docker/run/docker.sock | Docker socket |
TZ | UTC | Default time zone, as long as none is chosen in the settings |
Anyone who can operate Cubeherd controls Docker and therefore, in practice, the entire host.
Only expose Cubeherd on your LAN or via VPN, never directly to the internet.
It has a single admin account (bcrypt), signed session cookies (SameSite=Strict), login throttling and CSRF protection.
java25 for Minecraft 26.x).Each server lives in the data directory as servers/<id>/compose.yml and can also be run with docker compose without Cubeherd.
See ARCHITECTURE.md for details on the architecture.
go run ./cmd/cubeherd # http://localhost:8420, data in ./cubeherd-data
go test ./...
FC_PROBE=<container> go test ./internal/docker -run Live -v # against a running itzg container
FC_NET=1 go test ./internal/sources -run Live -v # against Mojang/Modrinth
The clickable design prototype is in prototype/index.html.
Cubeherd is licensed under the MIT License. Bundled components (htmx, fonts, golang.org/x/crypto) and their licenses are listed in THIRD_PARTY_NOTICES.md. Cubeherd is not an official Minecraft product and is not affiliated with Mojang Studios or Microsoft.