Commit 33c09b1c authored by ganjingcun's avatar ganjingcun

db config

parent acee8076
...@@ -15,8 +15,8 @@ var config = { ...@@ -15,8 +15,8 @@ var config = {
user: 'mycard', //env var: PGUSER user: 'mycard', //env var: PGUSER
database: 'ygopro', //env var: PGDATABASE database: 'ygopro', //env var: PGDATABASE
password: 'dn8aSm9yAJx23qWn', //env var: PGPASSWORD password: 'dn8aSm9yAJx23qWn', //env var: PGPASSWORD
host: 'rm-bp15014uvga7994tzo.pg.rds.aliyuncs.com', // Server hosting the postgres database host: 'postgres.mycard.moe', // Server hosting the postgres database
port: 3432, //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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment