mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-18 14:31:44 +03:00
27 lines
664 B
JavaScript
27 lines
664 B
JavaScript
import * as Environment from "~/node_common/environment";
|
|
|
|
module.exports = {
|
|
development: {
|
|
client: "pg",
|
|
connection: {
|
|
ssl: true,
|
|
port: 5432,
|
|
host: Environment.POSTGRES_HOSTNAME,
|
|
database: Environment.POSTGRES_DATABASE,
|
|
user: Environment.POSTGRES_ADMIN_USERNAME,
|
|
password: Environment.POSTGRES_ADMIN_PASSWORD,
|
|
},
|
|
},
|
|
production: {
|
|
client: "pg",
|
|
connection: {
|
|
ssl: true,
|
|
port: 5432,
|
|
host: Environment.POSTGRES_HOSTNAME,
|
|
database: Environment.POSTGRES_DATABASE,
|
|
user: Environment.POSTGRES_ADMIN_USERNAME,
|
|
password: Environment.POSTGRES_ADMIN_PASSWORD,
|
|
},
|
|
},
|
|
};
|