Skip to content

Override environment variables #250

Answered by mbecker20
mpkossen asked this question in Q&A
Discussion options

You must be logged in to vote

By default for new Stack, it will write to the contents you set to Env File Path which you configure, which defaults to .env. If you already have a .env in your folder which you don't want Komodo to manage directly, but you ALSO want Komodo to manage another file on top, you can set something else like komodo.env as Env File Path, and still pass .env as Additional Env File. I didn't consider the ordering actually, as it is implemented in 1.16.12 the variables in komodo.env will be overridden by additional env files if there are any conflicts. Now that I see this, I think it should change to be flipped, so komodo env always takes precedence, can expect this change in 1.17 now.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mpkossen
Comment options

Answer selected by mpkossen
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