From 5cb7122e18f0a86e72952128e71734589f2a03e3 Mon Sep 17 00:00:00 2001 From: Teez Date: Sun, 11 Aug 2024 13:18:57 -0400 Subject: [PATCH] Minecraft Docker --- docker-compose.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c174b18 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,28 @@ +services: + mc: + image: itzg/minecraft-server + tty: true + stdin_open: true + ports: + - "25565:25565" + environment: + TYPE: FORGE + VERSION: 1.21.1 + CF_API_KEY: $$2a$$10$$PXDF1/P0jGG5E4wQIFPNOuih1U5DBaL00hYx5oBXTFjXC7/mcAnbi + CURSEFORGE_FILES: | + https://www.curseforge.com/minecraft/mc-mods/xaeros-minimap/files/5437647 + https://www.curseforge.com/minecraft/mc-mods/comforts/files/5506648 + https://www.curseforge.com/minecraft/mc-mods/serene-seasons/files/5613013 + https://www.curseforge.com/minecraft/mc-mods/glitchcore/files/5483772 + https://www.curseforge.com/minecraft/mc-mods/biomes-o-plenty/files/5612808 + https://www.curseforge.com/minecraft/mc-mods/terrablender/files/5429864 + https://www.curseforge.com/minecraft/mc-mods/xaeros-world-map/files/5437640 + EULA: "TRUE" + OPS: | + xSghetti + MOTD: "Welcome Bitches!" + DEBUG: true + volumes: + # attach the relative directory 'data' to the container's /data path + - ./data:/data + #restart: on-failure:3