Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App Request] AMP (Application Management Panel) #85

Open
Shadowgar opened this issue Sep 17, 2022 · 1 comment
Open

[App Request] AMP (Application Management Panel) #85

Shadowgar opened this issue Sep 17, 2022 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Shadowgar
Copy link

App Information

  • Name: AMP (Application Management Panel)
  • Short Description: AMP (Application Management Panel) is a simple to use and easy to install control panel and management system for hosting game servers.
  • Official Website: https://cubecoders.com/AMP
  • GitHub Repository: https://github.com/CubeCoders/AMP
  • Docker Image: bash <(wget -qO- getamp.sh)

Why do you want this app?

AMP has been the complete go to for running various game servers , including built in features for Steam gaming servers. It is something that I always install on any server I build for home.

Additional information?

No response

@Shadowgar
Copy link
Author

Shadowgar commented Sep 18, 2022

So, I found a way to get this installed and functional.

This is the app.json that is currently working.
{"host":"","protocol":"http","port_map":"8080","cpu_shares":10,"restart":"unless-stopped","label":"Amp","position":false,"index":"","icon":"","network_model":"bridge","image":"mitchtalmadge/amp-dockerized:latest","description":"","origin":"custom","ports":[{"container":"25565","host":"25565","protocol":"tcp","desc":"","type":0},{"container":"25566","host":"25566","protocol":"tcp","desc":"","type":0},{"container":"27015","host":"27015","protocol":"udp","desc":"","type":0},{"container":"8080","host":"8080","protocol":"tcp","desc":"","type":0}],"volumes":[{"container":"/home/amp/.ampdata","host":"/ampdata","type":0,"desc":""}],"envs":[{"container":"UID","host":"1000","desc":"","type":0},{"container":"GID","host":"1000","desc":"","type":0},{"container":"TZ","host":"Etc/UTC","desc":"","type":0},{"container":"LICENCE","host":" <INSERT YOUR LICENSE HERE>","desc":"","type":0},{"container":"MODULE","host":"ADS","desc":"","type":0}],"devices":[],"cap_add":[],"cmd":[],"privileged":false,"host_name":"Amp","container_name":"Amp","custom_id":"8bbfa116-94ce-419f-8d3a-3e6445941f63","enable_upnp":false,"version":"1.0"}

Also there is a MAC Address detector so as the instructions about the docker state:
AMP is designed to detect hardware changes and will de-activate all instances when something significant changes. This is to stop people from sharing pre-activated instances and bypassing the licencing server. One way of detecting changes is to look at the MAC address of the host's network card. A change here will de-activate instances.

By default, Docker assigns a new MAC address to a container every time it is restarted. Therefore, unless you want to painstakingly re-activate all your instances on every server reboot, you need to assign a permanent MAC address.

For most people, this can be accomplished by generating a random MAC address in Docker's acceptable range. The instructions to do so are as follows:

Visit this page: https://miniwebtool.com/mac-address-generator/
Put 02:42:AC in as the prefix
Choose the format with colons :
Generate
Copy the generated MAC and use it when starting the container.
For docker run, use the following flag: (Substitute your generated MAC)

--mac-address="02:42:AC:XX:XX:XX"

For Docker Compose, use the following key next to image:

mac_address: 02:42:AC:XX:XX:XX

Place the --mac-address="YOUR GENERATED MAC" in the container commands.

Everything should be working after this.

@JohnGuan JohnGuan changed the title [App Request] AppName [App Request] AMP (Application Management Panel) Sep 21, 2022
@tigerinus tigerinus transferred this issue from IceWhaleTech/CasaOS May 10, 2023
@tigerinus tigerinus added the help wanted Extra attention is needed label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

2 participants