Might be nice to have the host in the example (#1118)

This commit is contained in:
Bill Butler 2016-08-29 09:57:57 -04:00 committed by Brian C
parent ec941c45c1
commit 83a946f61c

View File

@ -64,6 +64,7 @@ var config = {
user: 'foo', //env var: PGUSER user: 'foo', //env var: PGUSER
database: 'my_db', //env var: PGDATABASE database: 'my_db', //env var: PGDATABASE
password: 'secret', //env var: PGPASSWORD password: 'secret', //env var: PGPASSWORD
host: 'localhost', // Server hosting the postgres database
port: 5432, //env var: PGPORT port: 5432, //env var: PGPORT
max: 10, // max number of clients in the pool max: 10, // max number of clients in the pool
idleTimeoutMillis: 30000, // how long a client is allowed to remain idle before being closed idleTimeoutMillis: 30000, // how long a client is allowed to remain idle before being closed