ENV variables files load ordering
ENV variables files load ordering
Standard Loading Order (Highest to Lowest)
.env.local(local overrides, all environments).env.[mode].local(local overrides, specific mode).env.[mode](e.g.,.env.development).env(default settings)
Example: If
DB_HOST is defined in both files, the value in .env.local will be used.
Comments