Sign inSign up

othrayte/amp

By othrayte

•Updated over 8 years ago

Application Management Panel from CubeCoders.com. This includes the Minecraft module aka mcma3.

Image
2

10K+

othrayte/amp repository overview

⁠AMP Dockerfile

** NOTE: This is the nightly branch, it will download new and potentially unfinished builds of AMP from cube coders every time it runs **

Dockerfile for a container that installs and starts a Application Management Panel module from CubeCoders.com

Installs the Application Management Panel from CubeCoders.

This container requires a valid AMP license to run

⁠Running minecraft (with an AMP licence)

⁠Using environment vars

Create an enviroment variable file (called something like "amp-env.list") with ther following contents

LICENCE=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
EXTRAS=+MinecraftModule.Minecraft.PortNumber 25565

Running the container is then as simple as:

docker run -p 8080:8080 -p 25565:25565 --env-file ./amp-env.list othrayte/amp Minecraft

⁠Directly passing options

Another method is to pass the required options directly to the container.

docker run -p 8080:8080 -p 25565:25565 othrayte/amp Minecraft --licence-key your-licence-key-xxxx +MinecraftModule.Minecraft.PortNumber 25565

Both of these methods create a docker container with the Minecraft module for AMP. You can login to the administrative console at port 8080 with the username "admin" and password "password"; change the password when you first login. From here it is a standard AMP Minecraft module.

⁠Options

Most arguments to the container, and to the AMP modules inside it, can be passed as either command line arguments or enviroment variables.

ArgumentEnv varDefaultDescription
1st argumentMODULENo default
-l, --licence-keyLICENCENo defaultYour AMP licence key
-n, --instance-nameINSTANCE_NAME"Instance"The name to call the instance
-p, --passwordPASSWORD"password"Initial password for the admin amp instance user
-u, --usernameUSERNAME"admin"Initial username for the admin amp instance user
-h, --hostHOST"0.0.0.0"The network interface to listen on, "0.0.0.0" is all interfaces
--portPORT"8080"The network port to listen on
+OOOOOEXTRASNo defaultExtra options that are passed to the AMP module

Note: Extra options should each be in the format +MyOption Value, when specified in the enviroment variable multiple options can be added separated by spaces.

Tag summary

Content type

Image

Digest

Size

232 MB

Last updated

about 10 years ago

docker pull othrayte/amp