Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    SOLVED Specify which docker image to install in CloudronManifest.json?

    Discuss
    packaging
    2
    3
    75
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      murgero App Dev last edited by girish

      As the title asks, is there a way to specify a docker image via CloudronManifest to install? To simplify custom apps not yet in the app store to install and test across multiple servers.

      Essentially this would allow one to fork the repository and install right away without having to build unless they wanted to.

      Example (option 2):

      {
        "id": "org.urgero.codeserver",
        "dockerImage":"mitchellurgero/org.urgero.codeserver:tagorid",
        "title": "VSCode Server",
        "author": "Mitchell Urgero <info@urgero.org>",
        "description": "file://DESCRIPTION.md",
        "changelog": "file://CHANGELOG",
        "tagline": "eh, I guess just to test?",
        "version": "0.0.4",
        "healthCheckPath": "/",
        "httpPort": 8000,
        "memoryLimit":536870912,
        "addons": {
          "localstorage": {}
        },
        "postInstallMessage":"A default password was generated and saved unencrypted due to cloudron and code-server limitations. See the apps logs for the current password and use that to login. You can change the password by modifying <code>/app/data/temp</code> in the apps terminal.",
        "tcpPorts": {
          "APP_PORT": {
            "title": "APP Port",
            "description": "A TCP Port used for any services you plan to test while coding in VSCode. (NodeJS server, PHP Server, Go Server, etc). Since this is Docker, the value here is the listening port on your Cloudron instance. Your app must listen on port 3333 internally while in VSCode.",
            "defaultValue": 3333,
            "containerPort": 3333
          }
        },
        "manifestVersion": 1,
        "private": true,
        "website": "https://github.com/mitchellurgero/cloudron-vscode",
        "contactEmail": "info@urgero.org",
        "icon": "file://logo.png",
        "tags": [
          "something"
        ],
        "mediaLinks": [ ]
      }
      
      1 Reply Last reply Reply Quote 0
      • girish
        girish Staff last edited by

        I guess you are looking for a way for people to easily install apps without 'building' them? If so, we will shortly be enabling community apps. This way you (the app author) can publish apps and people don't need to build from code.

        1 Reply Last reply Reply Quote 1
        • M
          murgero App Dev last edited by

          Yes, if that is going to be an option soon then we can mark this as resolved 😄 Thanks!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post