colouring-montreal/ecosystem.config.dev-template.js

29 lines
826 B
JavaScript
Raw Normal View History

2019-03-18 17:18:01 -04:00
// Template for local development pm2 ecosystem file
// Copy this file and edit to set up pm2 config
// DO NOT COMMIT details to this file (publicly visible)
// See https://pm2.io/doc/en/runtime/guide/ecosystem-file/ for docs
module.exports = {
apps : [
{
name: "app",
cwd: "./app",
script: "npm",
args: "start",
env: {
NODE_ENV: "development",
2019-05-02 14:31:40 -04:00
TILECACHE_PATH: "./app/tilecache",
2019-03-18 17:18:01 -04:00
// update these details in private copy
PGHOST: "hostname",
PGPORT: 5432,
PGDATABASE: "databasename",
PGUSER: "username",
PGPASSWORD: "longrandomsecret",
APP_COOKIE_SECRET: "longrandomsecret",
}
}
]
}