vizwiz/server/config/postgres.js
2017-03-15 18:03:15 +01:00

25 lines
964 B
JavaScript

'use strict';
const defaults = {
user: 'vizwiz', //env var: PGUSER
database: 'vizwiz', //env var: PGDATABASE
password: 'secret', //env var: PGPASSWORD
host: 'localhost', // Server hosting the postgres database
port: 5432, //env var: PGPORT
max: 10, // max number of clients in the pool
idleTimeoutMillis: 30000, // how long a client is allowed to remain idle before being closed
};
// {
// user: 'newseri_supreme', // env var: PGUSER
// database: 'newseri', // env var: PGDATABASE
// password: 'oh-look-it-is-raining-news', // env var: PGPASSWORD
// // host: '192.168.1.11', // Server hosting the postgres database
// host: 'hq.bitmill.co', // Server hosting the postgres database
// // port: 5432, // env var: PGPORT
// port: 6543, // env var: PGPORT
// max: 10, // max number of clients in the pool
// idleTimeoutMillis: 30000, // how long a client is allowed to remain idle before being closed
// };
module.exports = defaults;