Welcome to “Running Minecraft in Production” Series
In this video, the goal is to teach people how to run Minecraft in a production environment using Docker and Docker Compose, Prometheus, Grafana, Promtail, Loki, and more. The focus of this particular video is on adding curseforge mods to a Minecraft server running on Docker using the itzg/minecraft-server docker image.
Supported Mod Types
The video begins by discussing the different types of mods supported by the Minecraft server, including vanilla, bucket, spigot, and curseforge mods. The focus is on using curseforge mods for this demonstration.
Downloading the Curseforge App and API Key
Viewers are guided through the process of downloading the Curseforge app and obtaining a developer API key from the Curseforge developer console. The API key is essential for automating the download of mod packs to the Minecraft server.
Configuring the Docker Compose File for Mods
The video explains the necessary steps to configure the Docker Compose file to use curseforge mods. This includes setting the server type to AUTO_CURSEFORGE, adding the CF_API_KEY environment variable, and escaping any dollar signs in the API key.
Pinning Mod Versions and Troubleshooting
Viewers are shown how to pin a specific version of a mod pack to prevent the Minecraft server from automatically updating to the latest version every time it restarts. The process involves obtaining the URL of the desired mod pack version and adding it to the Docker Compose file.
Launching the Minecraft Client and Troubleshooting Errors
After making the necessary configurations, the video demonstrates how to launch the modded Minecraft server using Docker Compose. It also addresses potential errors and troubleshooting steps to ensure a smooth setup.
Overall, the video provides a comprehensive guide for adding curseforge mods to a Minecraft server running on Docker. It covers the essential steps from obtaining the necessary API key to configuring the Docker Compose file and launching the modded server. Viewers are equipped with the knowledge to enhance their Minecraft experience with a variety of mods while utilizing Docker for a production-like environment.