Go to file
Andrei Stoica f8cecdc00c inital commit 2020-04-22 18:16:12 -04:00
build inital commit 2020-04-22 18:16:12 -04:00
Makefile inital commit 2020-04-22 18:16:12 -04:00
README.md inital commit 2020-04-22 18:16:12 -04:00
mc-server.service inital commit 2020-04-22 18:16:12 -04:00

README.md

Running a Minecraft server (spigot) inside of docker

This is a all in one setup to run a Spigot server using docker. It also includes a systemd unit file for setting it up to run automaticaly.

Building

make build-latest

  • builds the latest version of of spigot

deploying

make deploy

  • copies the latest build into the running directory

Running

make test

  • run a test instance of the server

Systemd unit file (mc-server.service)

  1. assumes the working directory to be /mc, change it on line 7
  2. copy to systemd config folder (/etc/systemd/system/ on Ubuntu)

make up

  • start the systemd service

make down

  • top the systemd service