GithubHelp home page GithubHelp logo

Comments (1)

Shadowgar avatar Shadowgar commented on July 17, 2024

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.

from casaos-appstore.

Related Issues (20)

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.