|
|
|
|
|
by ly3xqhl8g9
1229 days ago
|
|
One way to solve this is to be able to import into the .env file: import values from local/or/public/private/url
...values
When reading the file, the environment variables will be obtained from the URL and populate the environment.This is what I had in mind when designing the import functionality for deon [1]. Being able to import also makes it easy to have a .base, a .production, a .local setup, and combine them accordingly. [1] https://github.com/plurid/deon |
|
What about if you require multiple local configurations for eg. testing inside and outside docker?
What if you have several developers working on the same codebase with different settings? What if you have static data that changes with environment? Sqlite can answer all of this, including parsing quotes and handling filepaths in a uniform fashion