- Install Docker and Docker Compose
- Create a
/opt/minecraft
dir, and make it owned by UID 10000, GID 10000
$ sudo bash -c 'mkdir -pv /opt/minecraft; chown -vR 10000:10000 /opt/minecraft
This will build a Spigot-based server:
$ make build
This will start the Spigot-based server, mounting the data volume on the above /opt/minecraft
dir.
$ make spigot
This will start the standard server:
$ make minecraft
This will backup the standard dir to $(PWD)/BACKUP/minecraft.$(DATE).tar
:
$ make backup