Sign inSign up

nephatrine/minecraft-mcu

By nephatrine

•Updated over 3 years ago
Archived

Container w/ Minecraft & MCUpdater

Image
0

10K+

nephatrine/minecraft-mcu repository overview

⁠ARCHIVED - THIS IS NO LONGER UPDATED/SUPPORTED - PLEASE USE AN ALTERNATIVE

Git⁠ | Docker⁠ | unRAID⁠

⁠Minecraft Server

This docker image contains a Minecraft server to self-host your own Java Edition server and optionally MCUpdater modpack.

To secure this service, we suggest a separate reverse proxy server, such as an NGINX⁠ container.

Please note, you will still need to agree to the EULA the first time you start up the server by changing eula=false to eula=true in the /mnt/config/data/server/eula.txt file.

This container does not currently include its own web server. To expose your modpack to the public, you will need to host the modpack directory on a web server.

You can spin up a quick temporary test container like this:

docker run --rm -p 25565:25565 -it nephatrine/minecraft:latest /bin/bash

⁠Configuration Variables

You can set these parameters using the syntax -e "VARNAME=VALUE" on your docker run command. Some of these may only be used during initial configuration and further changes may need to be made in the generated configuration files.

  • FABRIC_VERSION: Fabric Loader Version ("")
  • MINECRAFT_VERSION: Minecraft Version ("")
  • JAVA_OPTS: Java Commandline Arguments ("")
  • MODPACK_NAME: Modpack Name (custom)
  • MODPACK_PUBLIC: Modpack Download URL (https://[SERVER_PUBLIC])
  • PUID: Mount Owner UID (1000)
  • PGID: Mount Owner GID (100)
  • SERVER_NAME: Server Name (custom)
  • SERVER_PUBLIC: Server IP/FQDN ("")
  • TZ: System Timezone (America/New_York)

⁠Persistent Mounts

You can provide a persistent mountpoint using the -v /host/path:/container/path syntax. These mountpoints are intended to house important configuration files, logs, and application state (e.g. databases) so they are not lost on image update.

  • /mnt/config: Persistent Data.

Do not share /mnt/config volumes between multiple containers as they may interfere with the operation of one another.

You can perform some basic configuration of the container using the files and directories listed below.

  • /mnt/config/data/server/eula.txt: Accept Minecraft EULA. [*]
  • /mnt/config/data/server/server.properties: Set Minecraft Properties. [*]
  • /mnt/config/etc/crontabs/<user>: User Crontabs. [*]
  • /mnt/config/etc/logrotate.conf: Logrotate Global Configuration.
  • /mnt/config/etc/logrotate.d/: Logrotate Additional Configuration.
  • /mnt/config/www/minecraft/modpack/client/*: Client-Side Optional Mods. [*]
  • /mnt/config/www/minecraft/modpack/config/*: Mod Configuration Files. [*]
  • /mnt/config/www/minecraft/modpack/extract/*: Modpack Zipfiles. [*]
  • /mnt/config/www/minecraft/modpack/mods/*: Minecraft Mods. [*]
  • /mnt/config/www/minecraft/modpack/optional/*: Optional Mods. [*]
  • /mnt/config/www/minecraft/modpack/scripts/*: Minecraft Tweaking Scripts. [*]
  • /mnt/config/www/minecraft/modpack/server/*: Server-Side Optional Mods. [*]
  • /mnt/config/www/minecraft/modpack.xsl: MCUpdater Modpack Theming. [*]

[*] Changes to some configuration files may require service restart to take immediate effect.

⁠Network Services

This container runs network services that are intended to be exposed outside the container. You can map these to host ports using the -p HOST:CONTAINER or -p HOST:CONTAINER/PROTOCOL syntax.

  • 25565/tcp+udp: Minecraft Server. This is the game server.

Tag summary

Content type

Image

Digest

sha256:0df80013b…

Size

78.2 MB

Last updated

over 3 years ago

docker pull nephatrine/minecraft-mcu