Application
Description
Crafty is a Minecraft Server Wrapper / Controller / Launcher. The purpose of Crafty is to launch a Minecraft server in the background and present a web interface for the admin to use to interact with their server.
Build notes
Latest commit to GitHub branch 'master'.
Usage
docker run -d \
-p <host port for crafty web ui>:8000 \
-p <host port range for minecraft servers>:25565-25575 \
--name=<container name> \
-v <path for config files>:/config \
-v /etc/localtime:/etc/localtime:ro \
-e JAVA_VERSION=<8|11|latest> \
-e UMASK=<umask for created files> \
-e PUID=<uid for user> \
-e PGID=<gid for user> \
binhex/arch-crafty
Please replace all user variables in the above command defined by <> with the correct values.
Access Crafty Web UI
https://<host ip>:8000
Credentials are shown on first run in the log file /config/supervisord.log
Example
docker run -d \
-p 8000:8000 \
-p 25565-25575:25565-25575 \
--name=crafty \
-v /apps/docker/crafty:/config \
-v /etc/localtime:/etc/localtime:ro \
-e JAVA_VERSION=latest \
-e UMASK=000 \
-e PUID=0 \
-e PGID=0 \
binhex/arch-crafty
Notes
User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-
id <username>
If you appreciate my work, then please consider buying me a beer :D