3 ms·
> I'm also a fan of using env vars for configuration and locating dependencies O please just let things be configured by a single JSON value, built from smalle
by tome 8y ago
> I'm also a fan of using env vars for configuration and locating dependencies
O please just let things be configured by a single JSON value, built from smaller JSON values if necessary.
- chriswarbo 8y agoSure thing. How do you get such a JSON value into an application though? What I'm saying is to use env vars. You could put your JSON straight into an env var, or if you want a persistent JSON file on disk then put the path to that file in an env var.
- tome 8y agoThat's totally fine. I just never want any more than one env var, otherwise the API surface becomes very flakey very quickly.