Runs a Minecraft Server inside a Docker container.
Find a file
2024-01-27 20:38:42 +01:00
.dockerignore Initial commit 2024-01-25 23:12:09 +01:00
.gitignore Add CTRL+C catching 2024-01-26 15:38:08 +01:00
config.example.env i am stupid i am stupid i am stupid i am stupid 2024-01-27 19:51:48 +01:00
docker-compose.yml Add network to docker-compose.yml 2024-01-27 20:38:42 +01:00
Dockerfile Update LICENSE and more 2024-01-27 17:13:25 +01:00
entrypoint.sh Fix issues and update config.example.env 2024-01-27 18:27:59 +01:00
LICENSE Update LICENSE and more 2024-01-27 17:13:25 +01:00
Makefile Rename example conf, change Makefile & entrypoint 2024-01-27 16:32:41 +01:00
README.md Update LICENSE and more 2024-01-27 17:13:25 +01:00

MCServerDocker

Runs a Minecraft Server inside a Docker container.

Java Edition only

This only supports the true version of Minecraft, not that phone and console spinoff named "Bedrock Edition".

Setting up

Step 1: Installing

This will bootstrap MCSD.

git clone "https://git.staropensource.de/JeremyStarTM/mcserverdocker.git"
cd mcserverdocker
mkdir server
cp config.example.env config.env

Step 2: Installing the server software

Rename the jar file of your preferred server software to server.jar and move it into the server/ directory.

Step 3: Modify the configuration

Take a look at the environment variables inside the config.env file.

Step 4: Launching the server

You need to start your server two times as we need to generate the server.properties file first. MCSD will do this automatically for you.

# Use this to launch your server every time you need it
docker compose up -d