Sign inSign up

siverten/magma

By siverten

•Updated about 3 years ago

An awesome Minecraft server that runs both Forge mods and bukkit/spigot/paper plugins!

Image
0

300

siverten/magma repository overview

⁠Disclaimer

This image is automatically updated with a script.

So shoot me an email @ [email protected]⁠ if it starts crashing.

⁠Example docker-compose.yml

version: '3.9'
services:
 rlcraft:
  image: siverten/magma:latest
  container_name: magma
  ports:
  - 25565:25565
  volumes:
  - ./plugins:/magma/plugins
  - ./config:/magma/config
  - ./mods:/magma/mods
  - ./world:/magma/world
  - ./logs:/magma/logs

⁠Dockerfile

FROM openjdk:8-jre

RUN mkdir /magma
WORKDIR /magma
ENV GIT_HASH "761933c"
ENV MC_RAM="1G"

#https://magmafoundation.org/#download
RUN wget https://github.com/magmafoundation/Magma/releases/download/v${GIT_HASH}-CUSTOM/Magma-${GIT_HASH}-STABLE-server.jar

RUN java -jar Magma-${GIT_HASH}-STABLE-server.jar nogui
RUN echo 'eula=true' > eula.txt

COPY server.properties .
COPY bukkit.yml .
COPY spigot.yml .
COPY paper.yml .
COPY magma.yml .
COPY ops.json .

EXPOSE 25565
EXPOSE 25575
VOLUME [ "/magma/plugins", "/magma/mods", "/magma/config", "/magma/world", "/magma/logs" ]

CMD java -server -Xms${MC_RAM} -Xmx${MC_RAM} -Dfml.queryResult=confirm -XX:+CMSClassUnloadingEnabled -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -Djline.terminal=jline.UnsupportedTerminal -jar Magma-${GIT_HASH}-STABLE-server.jar nogui

Tag summary

Content type

Image

Digest

sha256:ce5492417…

Size

119.1 MB

Last updated

about 3 years ago

docker pull siverten/magma