So, configuration now comes all from the command line, with option (perfect for docker) to receive this configuration by environment variable.
Too much copy/paste, need to rework so it is more systematic, easier to maintain, using a plugin-like architecture.
Also, need to support for configuration to come from user that will do it from the WebUI.
So:
minimal configuration by command line / environment variable: appdir, basedir,...
all configuration can STILL be provided by command line argument but also, user should be authorised to provide a json or a yaml that can be later managed by a configuration section in the UI
So, configuration now comes all from the command line, with option (perfect for docker) to receive this configuration by environment variable. Too much copy/paste, need to rework so it is more systematic, easier to maintain, using a plugin-like architecture.
Also, need to support for configuration to come from user that will do it from the WebUI.
So: