c12 icon indicating copy to clipboard operation
c12 copied to clipboard

Automatically inject env variables as config

Open pi0 opened this issue 3 years ago • 0 comments

To be fully 12 factor compliant, we shall allow overriding config with env variables.

// foo.config.ts
export default {
  bar: {
   baz: 123
  }
}

Using FOO_CONFIG_BAR_BAZ=456, should override baz value.

pi0 avatar Jan 27 '22 10:01 pi0