Simplify configuration of eoxserver for core
Currently settings.py
and eoxserver.conf
from eoxserver are adapted dynamically here:
https://gitlab.eox.at/vs/core/-/blob/main/configure.sh
It can be hard to really figure out what's going on here and it can also break on string formatting changes in the original file. Ideally we would have some kind of declarative configuration for core, where it's easily visible what the effective configuration is.
Maybe there's some way of mounting a config map can somehow override the defaults from settings.py
from eoxserver.
This way we could write the config directly in the chart and wouldn't need env vars as additional step.
Or we could approach the issue from the other side and read some configs in eoxserver settings.py
from some other config file. eoxserver
could have a default config file, which is replaced in core
. This way settings.py
itself could be the same for every project.
This issue would be superseded if we do #47 (moved), but if there's a reason for keeping the projects separate, then it would make things easier to continue to improve the integration.