.env.local.production Official

# Local env files .env.local .env.*.local .env.production.local

Only put variables in .env.local.production that truly need to be there. If a variable is the same across all production instances and isn't a secret, keep it in .env.production . 3. Use an .env.example .env.local.production

be committed to version control as they often contain sensitive API keys or database credentials. # Local env files