I have a situation in which I'd like to override a single variable in my .env file. when launching node-foreman
Example, I'd like to be able to run one of my processes headless, so I want to override the variable specifying my current context from 'development' to 'headless' but keep all other vars.
Obviously that doesn't work, but it shows was I'm trying to do.
I don't really want to maintain two separate .env files as the rest of the variables are identical and we already have issues maintaining the .env files that we do have.
Is this possible, or if not, could it be made possible?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I have a situation in which I'd like to override a single variable in my .env file. when launching node-foreman
Example, I'd like to be able to run one of my processes headless, so I want to override the variable specifying my current context from 'development' to 'headless' but keep all other vars.
I'm thinking something like
./node_modules/foreman/nf.js start -j Procfile_dev CONTEXT=headless
Obviously that doesn't work, but it shows was I'm trying to do.
I don't really want to maintain two separate .env files as the rest of the variables are identical and we already have issues maintaining the .env files that we do have.
Is this possible, or if not, could it be made possible?