getodk / central

ODK Central is a server that is easy to use, very fast, and stuffed with features that make data collection easier. Contribute and make the world a better place! ✨🗄✨
https://docs.getodk.org/central-intro/
Apache License 2.0
127 stars 155 forks source link

Make all service locations configurable #675

Open lognaturel opened 5 months ago

lognaturel commented 5 months ago

As proposed by @tobiasmcnulty at https://github.com/getodk/central/pull/546

This would mean adding env vars for:

Currently uses who want this level of configurability need to use their own way of editing the relevant config files.

So far, we've kept configurability to a minimum and treated the Docker Compose file as the preferred way of running. A the same time, we know some users prefer to orchestrate services themselves.

From @matthew-white: these get configured differently for local dev as well (e.g. 127.0.0.1) so there's a benefit for that context as well.

CC @spwoodcock

tobiasmcnulty commented 5 months ago

From my perspective, adding these variables makes all the service interdependencies configurable (and therefore the pre-built images generally more usable), without adding materially to the size of docker-compose.yml (9 lines added to a 151 line file).