//s94-docker-mc-javabysandros94

s94-docker-mc-java

A Minecraft Server on Docker powered by itzg images

0
0
0

mc-java Stack

This is going to be a nice readme for the stack deployment on a swarm for a minecraft java server using quilt, with the explanation of the env variables.

Current configuration

The current configuration is based on a Quilt server using itzg docker image. This let me install a number of Quilt/Fabric mods to optimize a number of performance and redstone-heavy worlds compared to Vanilla/Bukkit/Spigot/Paper server.

Suggested server mods are:

ENV List

WORLD_NAME = "NAME" A simple world name that will be used for the server name too.
HOST_FOLDER_PATH = "/absolute/host/path" Where minecraft will allocate the files and world saves.
NODE_PLACEMENT = [node.hostname == HOSTNAME] To define on witch node the server will be placed.

FAQ

undefinedQ: Why am I defining where to place the container istance?
undefinedA: Since I’m deploying them on a swarm without shared storage, defining on which node the container will be run on prevents from losing its folder and world saves.

To-Do

  • Credits to itzg docker image
  • FAQ on node placement inside a swarm
[beta]v0.14.0