1.3 KiB
1.3 KiB
mc-server-packwiz-docker
If you like Docker and keeping all your Minecraft Java server mods in one place using packwiz, as well as keeping track of all changes with Git, then this template repository is for you!
It comes with:
- a sample packwiz modpack
- a lightweight HTTP server image based on BusyBox that's used with
packwiz-installerby Minecraft Server on Docker - a setup script, which not only lets you reinitialise the modpack, but also generates a minimal
.envfile for the Minecraft Server along with Git hooks for automatically refreshing the modpack's index (while also preventing files in.dockerignorefrom getting listed)
Initial setup
Warning
Make sure to audit the contents of
setup.shbefore running it! If you've noticed potentially malicious code, notify me immediately via email.
git clone https://github.com/maciejpedzich/mc-server-packwiz-docker
cd mc-server-packwiz-docker
sudo chmod +x setup.sh
./setup.sh
Launching the Minecraft server
sudo docker compose build
sudo docker compose up -d