I'm running 4 docker instances now and it needs alot of resources
---------------- curseforge/all-the-mods-6
docker run -d -it -v atm-volume:/data --name curseforge-atm \
-p 192.168.1.11:25565:25565 \
-e EULA=true \
curseforge/all-the-mods-6
---------------- curseforge/rlcraft:2.8.2
docker run -d -it -v rlc-volume:/data --name curseforge-rlc \
-p 192.168.1.99:25565:25565 \
-e EULA=true \
curseforge/rlcraft:2.8.2
Set them to autostart
docker update --restart unless-stopped curseforge-atm
docker update --restart unless-stopped curseforge-rlc
References
---------------- Trying and failing using itgz/minecraft-server
PARAMETERS: From what I was able to test, the default 1GB of RAM that is allocated won't be enough. Recommend allocating 3 to 4GB's of RAM. You can do this by going to Launch Options, enabling JVM Arguments, and changing "-Xmx1G" to "-Xmx4G". My JVM Arguments looks like this:
-Xmx4G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
apt install openjdk-8-jre-headless
docker run -d -it -v cf-volume:/data \
-p 192.168.1.11:25565:25565 \
-e EULA=TRUE \
-e VERSION=1.12.2 \
-e MEMORY=2G \
-e TYPE=CURSEFORGE \
-e CF_SERVER_MOD=RLCraft_Server.zip \
--name minecraft-cf itzg/minecraft-server:java8-multiarch
-e MANIFEST=/data/FeedTheBeast/manifest.json \
java8-multiarch
in folder /cf-volume/_data/FeedTheBeast
wget https://raw.githubusercontent.com/AllTheMods/Server-Scripts/master/ServerStart.sh
wget https://raw.githubusercontent.com/AllTheMods/Server-Scripts/master/settings.cfg
references
https://www.curseforge.com/minecraft/modpacks/rlcraft
https://www.curseforge.com/minecraft/modpacks/rlcraft/files/2935316
https://github.com/itzg/docker-minecraft-server/issues/392
No comments:
Post a Comment