Initial commit, including all apps previously in course
This commit is contained in:
12
todoapp/nodejs_api/models/db.js
Normal file
12
todoapp/nodejs_api/models/db.js
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
module.exports.params = {
|
||||
dbname: process.env.MYSQL_ENV_MYSQL_DATABASE,
|
||||
username: process.env.MYSQL_ENV_MYSQL_USER,
|
||||
password: process.env.MYSQL_ENV_MYSQL_PASSWORD,
|
||||
params: {
|
||||
host: "mysql",
|
||||
port: "3306",
|
||||
dialect: 'mysql'
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user