Skip to content

Whether import .env and moleculer runner with --env all just the same target for using environment variables? #1197

Answered by icebob
liaodalin19903 asked this question in Q&A
Discussion options

You must be logged in to vote

The --env does the same as you wrote require('dotenv').config();

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by liaodalin19903
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants