Skip to content

Instantly share code, notes, and snippets.

@dselans
Created August 12, 2022 19:50
Show Gist options
  • Save dselans/f318d69817898b30c3dba03994c42680 to your computer and use it in GitHub Desktop.
Save dselans/f318d69817898b30c3dba03994c42680 to your computer and use it in GitHub Desktop.
Docker minecraft fabric better minecraft
# Took a good hour+ to get this going as there's a lack of docs on how to do this (and/or I don't know where to look)
#
# Download the better mc server pack zip file from curseforge. Move that to /root/minecraft/ggf-fabric-bmc/pack.
# Reference the zip file in GENERIC_PACK.
# docker-compose up -d and watch the logs. There will be lots of errors due to better mc using ~200 mods but it should start
# nevertheless.
bt-minecraft:
image: itzg/minecraft-server
container_name: ggf-fabric-bmc-fixed
environment:
TYPE: "FABRIC"
VERSION: "1.19"
GENERIC_PACK: "/packs/bmc-v5.zip"
ONLINE_MODE: "FALSE"
EULA: "TRUE"
GAMEMODE: "survival"
DIFFICULTY: "normal"
PVP: "FALSE"
MAX-PLAYERS: 5
# FABRIC_LAUNCHER_VERSION: 0.11.0
FABRIC_LOADER_VERSION: 0.14.8
INIT_MEMORY: "2G"
MAX_MEMORY: "4G"
volumes:
- "/root/minecraft/ggf-fabric-bmc/data:/data"
- "/root/minecraft/ggf-fabric-bmc/packs:/packs"
ports:
- "13345:25565"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment