Giter Site home page Giter Site logo

aersaud / amp-dockerized Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mitchtalmadge/amp-dockerized

0.0 0.0 0.0 29 KB

CubeCoders AMP in a Docker Image

Home Page: https://hub.docker.com/r/mitchtalmadge/amp-dockerized

License: Other

Dockerfile 63.56% Shell 36.44%

amp-dockerized's Introduction

AMP-dockerized

Docker Cloud Build Status

This repository bundles CubeCoders AMP into a Debian-based Docker image. (mitchtalmadge/amp-dockerized:latest)

In a nutshell, AMP (Application Management Panel) allows you to manage one or more game servers from a web UI.

Disclaimer: I (Mitch Talmadge) did not create AMP and am not associated with CubeCoders. I simply made it work with Docker because I hate installing things.

Supported Modules

Tested and Working:

  • Minecraft
  • McMyAdmin

Untested:

If you are able to get an untested module working, please add it to the tested list, create an example docker-compose.yml config, and add any further instructions to our Wiki.

If you are not able to get a module working, make an issue and we can work together to figure out a solution.

Configuration

I recommend using Docker Compose to set up the image. Sample configurations are provided for each module in the example-configs directory in the GitHub repo.

Environment Variables

Licence

Name Description Default Value
LICENCE The licence key for CubeCoders AMP. You can retrieve or buy this on their website. No Default. AMP will not boot without a real licence.

Important Details:

  • Americans: This is spelled licenCe not licenSe. Got me a few times.
  • When a McMyAdmin licence is provided, the one and only instance will be a Minecraft instance. This cannot be overridden; you must buy a new license to use AMP with other/multiple games.

Module

Name Description Default Value
MODULE Which Module to use for the main instance created by this image. ADS

If you want to run multiple game servers, you can use the default value of ADS (Application Deployment Service) which allows you to create various modules from the web ui.

To be clear, this Docker image creates ONE instance by default. If you want to create more, use ADS as the first instance and create the rest with the web ui.

If you only want one game instance, you can select from the list of modules below:

Module Name Description
ADS Application Deployment Service. Used to manage multiple modules.
ARK
Arma3
Factorio
FiveM
Generic Only for advanced users.
JC2MP
McMyAdmin If you have a McMyAdmin Licence, this will be picked for you no matter what. It is equivalent to Minecraft.
Minecraft
Rust
SevenDays
srcds Source-based games like TF2, GMod, etc.
StarBound

User/Group

Name Description Default Value
UID The ID of the user (on the host) who will own the /ampdata volume. 1000
GID The ID of the group for the user above. 1000

When not specified, these both default to ID 1000; i.e. the first non-system user on the host.

Web UI

Name Description Default Value
PORT The port of the Web UI for the main instance. Since you can map this to any port on the host, there's hardly a reason to change it. 8080
USERNAME The username of the admin user created on first boot. admin
PASSWORD The password of the admin user. This value is only used when creating the new user. If you use the default value, please change it after first sign-in. password

Volumes

Mount Point Description
/home/amp/.ampdata This volume contains everything AMP needs to run. This includes all your instances, all their game files, the web ui sign-in info, etc. Essentially, without creating this volume, AMP will be wiped on every boot.

HTTPS Support

Setting up HTTPS is independent of the Docker image. Just follow this official guide and when it tells you to access /home/AMP/.ampdata, access the volume you mapped on the host instead. It has the same contents. To restart the AMP instances, just restart the Docker container.

Or, just put CloudFlare and its free SSL cert in front of your web UI and save yourself hours of pain.

Support and Contributing

I am a full time college student and have very little time. Still, if you need help, post an issue in the repo and work as a community to help each other out. I welcome pull requests if you discuss the changes in an issue first.

Thank you for your help! Enjoy :)

amp-dockerized's People

Contributors

mitchtalmadge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.