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.
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.
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.
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.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.