Skip to content

Commit

Permalink
Update environment-variable-configuration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xpepper committed Oct 19, 2019
1 parent fed8df3 commit fb18674
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/environment-variable-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ Decided on .env files with related default file and schema file.

### Status

Decided. Open to considering to new capabilties as they come up.
Decided. Open to considering to new capabilities as they come up.


## Details


### Assumptions

We favor separating the application code and environment code. We assume the app needs to work differently in different environments, such as in a development environent, test environment, demo environment, production environment, etc.
We favor separating the application code and environment code. We assume the app needs to work differently in different environments, such as in a development environment, test environment, demo environment, production environment, etc.

We favor the industry practice of "12 factor app" and even more the related practice of "15 factor app".

Expand Down Expand Up @@ -82,12 +82,12 @@ We selected the approach of a file .env because:

* It follows the pattern of `.env` files which our teams have successfully used many times on many projects.

* It is simple. Notably, We are fine for now with the significant tradesoffs that we see, such as a lack of audit capabities as compared to an approach of a license server.
* It is simple. Notably, We are fine for now with the significant trade-offs that we see, such as a lack of audit capabilities as compared to an approach of a license server.


### Implications

We need to figure out a way to separate environent variable configuration that is public from any secrets management.
We need to figure out a way to separate environment variable configuration that is public from any secrets management.


## Related
Expand All @@ -99,12 +99,12 @@ We expect all our applications to use this approach.

We will plan to upgrade any of our applications that use a less-capable approach, such as hardcoding in a binary or in source code.

We will keep as-is any of our applications that use a more-capabile approach, such as a licensing server.
We will keep as-is any of our applications that use a more-capable approach, such as a licensing server.


### Related requirements

We will add devops capabilties for the files, including hooks, tests, and continuous integration.
We will add devops capabilities for the files, including hooks, tests, and continuous integration.

We need to train all developer teammates on this decision.

Expand Down

0 comments on commit fb18674

Please sign in to comment.