* add: read db credentials from .env * remove: console.log * fix: default to default pg user and password
12 lines
323 B
JavaScript
12 lines
323 B
JavaScript
const DB_USERNAME = process.env.DB_USERNAME || "postgres";
|
|
const DB_PASSWORD = process.env.DB_PASSWORD || "";
|
|
|
|
module.exports = {
|
|
plugins: [],
|
|
projectConfig: {
|
|
// redis_url: REDIS_URL,
|
|
database_url: `postgres://${DB_USERNAME}:${DB_PASSWORD}@localhost/medusa-integration`,
|
|
database_type: "postgres",
|
|
},
|
|
};
|