Mailspring/pm2-dev.yml
Evan Morikawa 28a0a929bb [cloud-core] make DB_NAME an environment variable
Default to nylasmailclouddb
2017-01-16 10:56:46 -08:00

26 lines
961 B
YAML

apps:
- script : packages/cloud-api/app.es6
interpreter : node_modules/.bin/babel-node
watch : ["packages"]
name : api
env :
PORT: 5100
DB_NAME : "nylasmailclouddb"
DB_ENCRYPTION_ALGORITHM : "aes-256-ctr"
DB_ENCRYPTION_PASSWORD : "d6F3Efeq"
GMAIL_CLIENT_ID : "271342407743-nibas08fua1itr1utq9qjladbkv3esdm.apps.googleusercontent.com"
GMAIL_CLIENT_SECRET : "WhmxErj-ei6vJXLocNhBbfBF"
GMAIL_REDIRECT_URL : "http://localhost:5100/auth/gmail/oauthcallback"
NODE_ENV: 'development'
HONEY_DATASET: 'n1-cloud-staging'
HONEY_WRITE_KEY: 'XXXXXXXXXXXXX'
- script : packages/cloud-workers/app.js
interpreter : node_modules/.bin/babel-node
watch : ["packages"]
name : workers
env :
DB_ENCRYPTION_ALGORITHM : "aes-256-ctr"
DB_ENCRYPTION_PASSWORD : "d6F3Efeq"
NODE_ENV: 'development'
- script : redis-server
name : redis