My Minecraft server on GKE with preemptible nodes.
If you want to add yourself to the whitelist:
- Fork the repo
- Edit
k8s/whitelist.yml
to add your desired username, and its offline UUID. THIS IS CASE SENSITIVE - You can find your offline UUID using this api. Cmd example: where
YOUR_USERNAME
is your namecurl -s http://tools.glowingmines.eu/convertor/nick/YOUR_USERNAME | jq '.offlinesplitteduuid'
- Make a PR and tag me for review
Mount a map as a volume at /home/minecraft/server
Optionally mount a whitelist at /home/minecraft/config/whitelist.json
Set the heapsize with the HEAPSIZE
env var
Example:
docker build -t minecraft:$(cat VERSION) .
docker run -p 25565:25565 -e HEAPSIZE=3G -v /tmp:/home/minecraft/server minecraft:$(cat VERSION) .