Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - Is it possible to override a single environment var? #148

Closed
kirps opened this issue Aug 24, 2017 · 1 comment
Closed

Question - Is it possible to override a single environment var? #148

kirps opened this issue Aug 24, 2017 · 1 comment
Labels

Comments

@kirps
Copy link

kirps commented Aug 24, 2017

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?

@stale
Copy link

stale bot commented Jul 1, 2018

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.

@stale stale bot added the wontfix label Jul 1, 2018
@stale stale bot closed this as completed Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant