ModioAB / caramel

Caramel is a CA Registry Manager
GNU Affero General Public License v3.0
16 stars 5 forks source link

Make it possible to configure with environment variables #55

Open Spindel opened 3 years ago

Spindel commented 3 years ago

Currently the tooling requires a config file on the command line. This is a bit annoying in production and other places, as it means we need various shell scripts to run the code when we could avoid that.

Better way would be to take most of the configuration out of the ini files and move them into environment variables.

  1. Change config file from a parameter on the command line to an environment flag that points to the right config file

After that, the basic settings that are in the config file should probably be replaced:

The end goals: