vlingo / xoom-schemata

The VLINGO XOOM Schema Registry.
https://vlingo.io
Mozilla Public License 2.0
17 stars 9 forks source link

Support configuration via environment variables #112

Closed wwerner closed 4 years ago

wwerner commented 4 years ago

Currently, we support only configuration using config files. When automating deployments and running in docker, the preferred way is to use environment variables for configuration (see e.g. https://12factor.net/config).

Additionally, we need to make the port configurable.

VaughnVernon commented 4 years ago

@wwerner Good observation. This is already built in to vlingo-xoom. Perhaps vlingo-schemata should use xoom.

@kbastani WDYT?

wwerner commented 4 years ago

Ah, ok, wasn't aware of that. I'd love to use xoom beneath schemata, but seem to remember that when we spoke about that in Munich it was not quite there yet. If it is, I'll happily port it. Perhaps after the demo, depending on how much effort it will be.

VaughnVernon commented 4 years ago

@wwerner I am not quite sure if this specific string interpolation configuration is supported in xoom. It's a matter of which default configuration provider @kbastani chose. Using xoom is not an immediate need but I think it would be good to run schemata and any other enduser components on xoom. Let's save this for after the current task list is completed.