spritsail / amp-minecraft

Dockerfile for running a Minecraft server through the server management program AMP.
6 stars 2 forks source link

Spritsail/AMP-Minecraft

Layers Latest Version Git Commit Docker Stars Docker Pulls Build Status

A Docker image for running the Minecraft module of the AMP server management program, by CubeCoders.

Environment Variables

This Dockerfile requires a CubeCoders licence, specified as the environment variable LICENCE. An example run command for this Dockerfile is:

docker run -d -e "LICENCE=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" -p 8080:8080  -p 25565:25565 -v /host/path/to/amp:/ampdata spritsail/amp-minecraft

To rebind the port the Minecraft server listens on, simply replace the first intance of 25565 with the external port.

This dockerfile also support more environment variables to customise the minecraft servere parameters. These are:

These environment variables can either be defined at runtime, as LICENCE has above, or in a file. For information on how to format and use this file, see the Docker Documentation.