Custom config options in manifest
-
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.
-
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.