2020-07-21 14:36:50 +03:00
|
|
|
import * as Environment from "~/node_common/environment";
|
|
|
|
|
2020-07-17 09:05:58 +03:00
|
|
|
module.exports = {
|
|
|
|
development: {
|
|
|
|
client: "pg",
|
|
|
|
connection: {
|
|
|
|
ssl: true,
|
|
|
|
port: 5432,
|
2020-07-21 14:36:50 +03:00
|
|
|
host: Environment.POSTGRES_HOSTNAME,
|
|
|
|
database: Environment.POSTGRES_DATABASE,
|
|
|
|
user: Environment.POSTGRES_ADMIN_USERNAME,
|
|
|
|
password: Environment.POSTGRES_ADMIN_PASSWORD,
|
2020-07-17 09:05:58 +03:00
|
|
|
},
|
|
|
|
},
|
2020-07-22 21:34:24 +03:00
|
|
|
production: {
|
|
|
|
client: "pg",
|
|
|
|
connection: {
|
2020-07-23 03:13:09 +03:00
|
|
|
ssl: true,
|
2020-07-22 21:34:24 +03:00
|
|
|
port: 5432,
|
|
|
|
host: Environment.POSTGRES_HOSTNAME,
|
|
|
|
database: Environment.POSTGRES_DATABASE,
|
|
|
|
user: Environment.POSTGRES_ADMIN_USERNAME,
|
|
|
|
password: Environment.POSTGRES_ADMIN_PASSWORD,
|
|
|
|
},
|
|
|
|
},
|
2020-07-17 09:05:58 +03:00
|
|
|
};
|