Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Latest commit

 

History

History
64 lines (41 loc) · 2.54 KB

README.md

File metadata and controls

64 lines (41 loc) · 2.54 KB

Spigot Docker

Lightweight Minecraft Spigot 1.14 server container

Spigot Docker

Docker Build Status

GitHub last commit GitHub commit activity GitHub issues

Docker Pulls Docker Stars Docker Automated

Image size Image version

Image size RAM usage CPU usage
117MB 500MB Medium

Based on:

  • Alpine Linux 3.9
  • OpenJDK JRE 8

Setup

Spigot

Use the following command:

docker run -d --name=spigot -p 25565:25565/tcp \
-v ./spigot:/spigot -e ACCEPT_EULA=true qmcgaw/spigot

or use docker-compose.yml with:

docker-compose up -d

If you have existing server data, simply place it in ./spigot then launch the container.

Environment variables

  • ACCEPT_EULA is used to accept the SpigotMC EULA license (required to run the server)
  • JAVA_OPTS defaults to -Xms512m -Xmx1800m -XX:+UseConcMarkSweepGC and are options passed to Java to run the Spigot server

TODOs

  • Execute commands in server
  • Stop server gracefully
  • Healthcheck
  • Plugins

Other

I recommend using the Hibernate plugin for your Spigot Docker server

Hibernate plugin