-
Notifications
You must be signed in to change notification settings - Fork 155
/
config.js
27 lines (27 loc) · 873 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/** @type {import('sequelize').Options} */
module.exports = {
development: {
username: process.env.DEV_DB_USERNAME,
password: process.env.DEV_DB_PASSWORD,
database: process.env.DEV_DB_NAME,
host: process.env.DEV_DB_HOSTNAME,
dialect: process.env.DEV_DB_DIALECT,
logging: process.env.DEV_DB_LOGGING,
},
test: {
username: process.env.TEST_DB_USERNAME,
password: process.env.TEST_DB_PASSWORD,
database: process.env.TEST_DB_NAME,
host: process.env.TEST_DB_HOSTNAME,
dialect: process.env.TEST_DB_DIALECT,
logging: process.env.TEST_DB_LOGGING,
},
production: {
username: process.env.PROD_DB_USERNAME,
password: process.env.PROD_DB_PASSWORD,
database: process.env.PROD_DB_NAME,
host: process.env.PROD_DB_HOSTNAME,
dialect: process.env.PROD_DB_DIALECT,
logging: process.env.PROD_DB_LOGGING,
},
};