From f98725658b755bb593260d82475d19a929c02dfe Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Thu, 30 Mar 2017 11:55:51 -0700 Subject: [PATCH] Added env variables and addons --- app.json | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/app.json b/app.json index 4f0a5ef4..ac24e15a 100644 --- a/app.json +++ b/app.json @@ -3,5 +3,27 @@ "description": "Beautiful, opensource web forms", "repository": "https://github.com/whitef0x0/tellform", "logo": "https://node-js-sample.herokuapp.com/node.svg", - "keywords": ["node", "express", "static", "mean"] + "keywords": ["node", "express", "static", "mean"], + "addons": ["mongolab", "sparkpost"], + "env:{ + "DISABLE_CLUSTER_MODE": { + "description": "Disable support for running in cluster mode on pm2", + "value": "TRUE" + }, + "NODE_ENV": { + "description": "Choose whether to run app in development or production mode", + "value": "production" + }, + "BASE_URL": { + "description": "The url of your heroku app.", + }, + "SOCKET_URL": { + "description": "Where you websockets will connect to (i.e. your heroku app url)", + }, + "MAILER_SERVICE_PROVIDER": { + "description": "Which mail service/API you will be using (i.e. SparkPost, Mandrill, etc)", + "value": "Sparkpost" + }, + + } }