This repository will set up a curseforge modded minecraft server utilizing the itzg/minecraft-server docker image
docker-compose up
docker-compose down
- Stop the server if running via
docker-compose down
- Download the desired modpack from curseforge
- Copy the downloaded server zip into the modpacks folder
- Change the following line within the
docker-compose.yml
:
CF_SERVER_MOD: /modpacks/<mod_file_name>
- Run the server with
docker-compose up
- Run
./backup_server.py --backupfolder <folder_name_for_backup>
- This will backup the data and modpacks by default. Can ignore either by passing
--skipdata
or --skipmods
respectively
- This will backup the data and modpacks by default. Can ignore either by passing