GIScience / openrouteservice

🌍 The open source route planner api with plenty of features.
https://openrouteservice.org
GNU General Public License v3.0
1.33k stars 379 forks source link

Set config defaults and reduce configs to a minimum #1720

Closed MichaelsJP closed 4 months ago

MichaelsJP commented 4 months ago

We could take over the current default config settings as defaults in the code, to be able to deploy with a minimal config? Otherwise, we could take the settings in the live API and have them as defaults.

That would lead to an OOTB ors behaving similarly to the live API, and any change users do to it will have to be explicitly configured. Anything changing the defaults does then need to be properly documented.

That should be done in application.yml, which is shipped anyways. Documentation should reflect that.

After a lengthy discussion we concluded the following solution: