Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
/ arch-crafty Public archive

Docker build script for Arch Linux base with Crafty

License

Notifications You must be signed in to change notification settings

binhex/arch-crafty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Application

Crafty Controller

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

PayPal donation

Documentation | Support forum