Reputation: 13
The question seems clear. I was unable to get info on that.
The way I can use for instance is :
$ vmc push myapp --no-start
$ vmc env-add myapp MYVAR=var
$ vmc start myapp
So, it's possible to configure that in my manifest.yml, and in which way ?
I would set NODE_ENV="production"
Thank's
Upvotes: 1
Views: 968
Reputation: 841
With the latest VMC (gem install vmc --pre, mkdir ~/.vmc/use-ng), have this in your manifest alongside the app attributes like name, instances, etc.:
env:
NODE_ENV: production
Not sure about legacy VMC, sorry.
Upvotes: 2