Allow to set path to INI file in the WSGI script#5987
Conversation
The wsgi script that we include as example to be used with uwsgi or gunicorn expects a `ckan.ini` file in the same folder. This adds support for the `CKAN_INI` env var which is already supported when running the CLI.
|
@amercader - This change seems to work OK when I run |
|
Thanks @kowh-ai
The path to who.ini is defined using
If you need to pass an env var to the supervisor process you can do so using the We can definitely add this to the deploy docs |
The wsgi script that we include as example to be used with uwsgi or gunicorn expects a
ckan.inifile in the same folder. This adds support for theCKAN_INIenv var which is already supported when running the CLI.Features: