[Koha-bugs] [Bug 26790] Refactor Koha configuration (koha-conf.xml)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 30 09:57:56 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26790

--- Comment #11 from Julian Maurice <julian.maurice at biblibre.com> ---
Yet another alternative would be to replace the main configuration file by
environment variables.
This is the approach recommended by https://12factor.net/config and can make
working with containers (docker/k8s/...) easier.

Of course not everything can be put inside env vars, so it would probably be
needed to have env vars that point to files. For instance
LDAP_CONFIG_FILE=/etc/koha/sites/SITE/conf.d/ldap_config.yml

Another advantage: no need to worry about the main config file format, or an
include mechanism

My 2 cents

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list