Skip to content

Commit

Permalink
setup logger
Browse files Browse the repository at this point in the history
setup cache
  • Loading branch information
andriyor committed Dec 8, 2021
1 parent 9afc633 commit fc032f0
Show file tree
Hide file tree
Showing 10 changed files with 523 additions and 18 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ services:
- 3306:3306
volumes:
- mariadbdata:/var/lib/mysql
redis:
image: "redis:6-alpine"
ports:
- "6379:6379"

volumes:
mariadbdata:
10 changes: 2 additions & 8 deletions ormconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@ const dotenv = require('dotenv');

dotenv.config();

const {
DB_TYPE,
DB_HOST,
DB_USERNAME,
DB_PASSWORD,
DB_PORT,
DB_DATABASE,
} = process.env;
const { DB_TYPE, DB_HOST, DB_USERNAME, DB_PASSWORD, DB_PORT, DB_DATABASE } =
process.env;

module.exports = {
type: DB_TYPE,
Expand Down
Loading

0 comments on commit fc032f0

Please sign in to comment.