From e1d64e03f93029c2c1b622f85c2888cd963b0714 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Fri, 2 Aug 2024 15:50:18 -0300 Subject: [PATCH] Add a minecraft 1.21 config --- minecraft/docker-compose.yml | 56 ++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 minecraft/docker-compose.yml diff --git a/minecraft/docker-compose.yml b/minecraft/docker-compose.yml new file mode 100644 index 0000000..916d5f8 --- /dev/null +++ b/minecraft/docker-compose.yml @@ -0,0 +1,56 @@ +version: "3" +services: + mc: + container_name: minecraft + image: itzg/minecraft-server:java21-graalvm + restart: unless-stopped + ports: + - "25565:25565" # minecraft + - "25566:8123" # dynmap + environment: + EULA: "TRUE" + TYPE: "FABRIC" + TZ: "America/Moncton" + ENABLE_ROLLING_LOGS: "true" + MAX_MEMORY: "6G" + VERSION: "1.21" + MOTD: "Let's get it started in here" + DIFFICULTY: "normal" + SNOOPER_ENABLED: "false" + ALLOW_FLIGHT: "true" + ENABLE_RCON: "true" + USE_AIKAR_FLAGS: "true" + OPS: "IsaacDaybreak" + MODRINTH_DOWNLOAD_DEPENDENCIES: "required" + MODRINTH_ALLOWED_VERSION_TYPE: "alpha" + # sdlink for discord integration + # dynmap for map viewer + MODRINTH_PROJECTS: | + fabric-api + lithium + ferrite-core + modernfix + krypton + debugify + no-chat-reports + vmp-fabric + noisium + c2me-fabric + leaves-be-gone + servercore + alternate-current + ksyxis + faster-random + railoptimization + recipecooldown + slumber + achievements-optimizer + disable-portal-checks + fixmcstats + helpfulcommands + disconnect-packet-fix + headfix + sdlink + dynmap + volumes: + - /docker/appdata/minecraft:/data \ No newline at end of file