Skip to content
Minecraft

Documentation: Minecraft docker-compose generator (itzg)

docker-compose.yml generator for the community itzg/minecraft-server Docker image: EULA, TYPE (Vanilla, Paper, Purpur, Fabric, Forge, NeoForge), VERSION, MEMORY, Aikar's flags, MOTD, difficulty, game mode, ONLINE_MODE, OPS, WHITELIST, RCON and the /data volume.

Last updated: 10/9/2026

Open the tool

The itzg/minecraft-server image (community-made, not official from Mojang) downloads and runs a Minecraft Java server from environment variables. This tool builds the docker-compose.yml: EULA acceptance, type and version, memory, game rules, access and RCON, with data persisted in ./data.

How to use the tool

  1. Install Docker and the Compose plugin on your server.

  2. Choose the type (PAPER, FABRIC…), the version (LATEST or 1.21.x) and the memory.

  3. Fill in game rules, OPS/WHITELIST and, if needed, RCON with a strong password.

  4. Save docker-compose.yml, then run “docker compose up -d”; follow startup with “docker compose logs -f”.

Things to watch

EULA: “TRUE” means you accept the Minecraft EULA. MEMORY sets the Java heap -Xms and -Xmx; allow about 25% extra container memory for non-heap use. USE_AIKAR_FLAGS enables the G1GC flags (adjusted automatically from 12G). OPS and WHITELIST accept comma-separated names or UUIDs. The left (host) port can be changed; the right one stays 25565 inside the container. This image is community-maintained: see its documentation for advanced variables.

docker compose up -d
docker compose logs -f
docker compose exec mc rcon-cli

Frequently asked questions

How do I update the server?
Change VERSION then re-run “docker compose up -d”, or run “docker compose pull && docker compose up -d” for a new image. Back up ./data before any version upgrade.
Where are my worlds?
In the volume mounted on /data, i.e. ./data on the host (world/, server.properties, plugins/…). Don't delete that folder when recreating the container.
Screenshot of the server.properties editor toolMinecraftOpen access
Configure your Minecraft Java server: players, world, performance, whitelist and RCON.
ConfigurationJava EditionOpen
Documentation
Minecraft
MinecraftOpen access
Generate start.sh for Paper, Purpur, Fabric or Vanilla: RAM, Aikar's flags, --nogui, automatic restart and GC log.
LaunchPerformanceOpen
Documentation
Minecraft
MinecraftOpen access
Create a colored two-line MOTD with live preview: § codes, hex colors, server.properties line and MiniMessage.
MOTDColorsOpen
Documentation
Minecraft
MinecraftSign-in required
Edit your Bukkit, Spigot and Paper YAML files with help on common keys, default values and indentation error detection.
YAMLConfigurationOpen
Documentation
Minecraft
MinecraftOpen access
Generate whitelist.json and ops.json from a list of usernames, with the offline UUID computed locally, no network or Mojang call.
PlayersAdministrationOpen
Documentation
Minecraft
MinecraftOpen access
Compute radius, chunks, regions, pre-generation time, disk space and loaded chunks for your Minecraft world border.
WorldPerformanceOpen
Documentation