Skip to content

Production dotenv ignored #3962

Answered by styfle
eMarek asked this question in General
Mar 25, 2020 · 3 comments · 17 replies
Discussion options

You must be logged in to vote

Multiple environments are available in Now 18.0.0 and on the dashboard today!

This should solve your problem for needing multiple .env files.

Why is .env.production file totally ignored?

Any file with .env is intentionally ignored from our system for security purposes because these files typically contain plain text secrets. Its better to use our system to manage secrets with now env command or in the dashboard.

Replies: 3 comments 17 replies

Comment options

You must be logged in to vote
9 replies
@mcsdevv
Comment options

@mjurincic
Comment options

@mcsdevv
Comment options

@mjurincic
Comment options

@paulogdm
Comment options

Comment options

You must be logged in to vote
4 replies
@eMarek
Comment options

@styfle
Comment options

@eMarek
Comment options

@styfle
Comment options

Answer selected by eMarek
Comment options

You must be logged in to vote
4 replies
@eMarek
Comment options

@bigsee
Comment options

@bigsee
Comment options

@styfle
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants