Skip to content

Instantly share code, notes, and snippets.

@erichosick
Last active September 29, 2020 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erichosick/27002f8470e8b98dd1bf9112794adb66 to your computer and use it in GitHub Desktop.
Save erichosick/27002f8470e8b98dd1bf9112794adb66 to your computer and use it in GitHub Desktop.
Configuration Context
// The root of the configuraton file is scoped to the
// entire company: all software offerings.
{
// The Platform context contains all services and
// applications for a specific product offering.
"platform": {
// The Compute context provides configuration
// to a specific application, service, mciro-service,
// lambda, etc.
"compute": {
// The Environment context scopes the configuration
// to a given environment such as dev, stage, prod,
// custom, etc.
"environment": {
// Final configured values like ports, logging setting, etc.
"configuration": {
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment