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


    Cloudron Forum

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

    Custom config options in manifest

    Feature Requests
    2
    2
    128
    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.
    • ?
      A Former User last edited by A Former User

      One cool option would be the ability to add custom config values in the manifest that are tied to a new tab in the UI when editing an app. These options can be mapped to environment vars which are available to start.sh. For instance, for Minecraft:

      'whitelist': {
      'name': 'Whitelist',
      'default': 'true',
      'var': MC_WHITELIST_ENABLED,
      'restart_required': true
      }

      Another point here is I would like it if these options were available when initially installing an app. This would allow someone to initialize an app with even more options out of the gate.

      If this is already possible or has already been requested, I apologise for not checking well enough. I used Minecraft as my usecase but I'm sure this can be applied to other apps with simple toggle config options. Makes for a slightly better user experience.

      1 Reply Last reply Reply Quote 4
      • girish
        girish Staff last edited by

        👍 Internally, there is already a way to set custom env vars (you can do this only in the CLI currently, cloudron env). So, we have to update the manifest and the UI to use those fields and set env vars.

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        Powered by NodeBB