ckan / datapusher

A standalone web service that pushes data files from a CKAN site resources into its DataStore
GNU Affero General Public License v3.0
76 stars 152 forks source link

allow override of config file path #248

Open categulario opened 2 years ago

categulario commented 2 years ago

In line with #246 this PR allows the config file to be overridden via the JOB_CONFIG environment variable.

The change is very simple and doesn't conflict with current setup, it just mandates that if the variable is set then it is not re-set to the default config file.

My motivation is that, while environment variables allow tuning of some parameters, managing them can become a burden and a config file persisted to disk might be easier.

categulario commented 2 years ago

If what is mentioned in https://github.com/ckan/ckan-service-provider/issues/20 makes sense, then this might be a good opportunity to change the name.