Skip to content

Reproducible minecraft server with Nix. Made to run on low performance VPSs.

Notifications You must be signed in to change notification settings

Woynert/nix-minecraft-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A reproducible minecraft server targeting VPS machines.

Usage:

  • $CPULIMIT: Set CPU usage cap. Uses limitcpu.
  • $JAVAOPTS: Set extra JVM options.
  • Mount your server data folder at /data.

Build docker image:

nix-build docker-server.nix

Build, load, run:

docker load < $(nix-build docker-server.nix)
docker run -v ./data:/data -e "CPULIMIT=200" -p 25565:25565 pufferfish-1.20.4:1.0.0

About

Reproducible minecraft server with Nix. Made to run on low performance VPSs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages