minecraft/docker-compose.yml
Kris Lamoureux 4ce50becd2
Add build configuration system and paper image
- Add 'make paper' target to build a Paper image with plugins based on JRE
- Introduce dynamic .env and plugins.json configuration using Makefile
- Enable users to extend builds by managing their own directories in scratch/
- Implement copy_build_files macro for reproducible build management
- Add BUILDKIT_PROGRESS and DOCKER_BUILDKIT as configurable make vars
2024-05-24 03:15:54 -04:00

14 lines
432 B
YAML

services:
minecraft:
image: ${RUN_IMAGE:-localhost/minecraft}:${RUN_TAG:-latest}
ports:
- "0.0.0.0:25565:25565"
environment:
EULA: "${EULA:-false}"
DEBUG: "${DEBUG:-false}"
JVM_OPTS: "${JAVA_OPTS:--Xms1G -Xmx2G}"
SETTINGS_gamemode: "${GAMEMODE:-survival}"
SETTINGS_hardcore: "${HARDCORE:-false}"
SETTINGS_motd: "${MOTD:-A Minecraft Server}"
SETTINGS_pvp: "${PVP:-true}"