Skip to content

Commit

Permalink
[AWS]#18 - setting for aws
Browse files Browse the repository at this point in the history
  • Loading branch information
yoon1013 committed Jun 12, 2022
1 parent ce54386 commit 2c0064e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
COOKIE_SECRET = cookiesecret
COOKIE_SECRET = cookiesecret
SEQUELIZE_PASSWORD = dbswjd991013!
26 changes: 26 additions & 0 deletions config/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
require('dotenv').config();

module.exports = {
development: {
username: "root",
password: process.env.SEQUELIZE_PASSWORD,
database: "init",
host: "127.0.0.1",
dialect: "mysql"
},
test: {
username: "root",
password: process.env.SEQUELIZE_PASSWORD,
database: "init",
host: "127.0.0.1",
dialect: "mysql"
},
production: {
username: "root",
password: process.env.SEQUELIZE_PASSWORD,
database: "init",
host: "127.0.0.1",
dialect: "mysql",
logging: false,
}
};

0 comments on commit 2c0064e

Please sign in to comment.