Commit b9f404b
committed
minor #20785 [Deployment] - More accurate local .env file recommendation (jdevinemt)
This PR was submitted for the 7.2 branch but it was squashed and merged into the 6.4 branch instead.
Discussion
----------
[Deployment] - More accurate local .env file recommendation
Updated file recommended for use when using .env files to manage environment variables for the application.
Previously, the recommended file was `.env.local`, but if values added here would be overridden by `.env.prod` if present. It might be uncommon that someone would use a combination of `.env` and `.env.prod`, but it can't be assumed that it isn't the case. Using `.env.prod.local` is always going to be the last file processed by the dotenv component by default.
It might be even better to not reference "prod" directly in `.env.prod.local` and instead say `.env.<env>.local`, but prod is explicitly referenced elsewhere in this section/page. So I left the explicit reference.
Commits
-------
cb18658 [Deployment] - More accurate local .env file recommendation1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
| 137 | + | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
143 | 142 | | |
144 | | - | |
| 143 | + | |
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
| |||
0 commit comments