Skip to content

Commit

Permalink
[#1] add .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
le2sky committed Feb 25, 2022
1 parent 3565b54 commit 99ce159
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,3 @@ lerna-debug.log*
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

**/*.env
9 changes: 9 additions & 0 deletions src/config/env/.development.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
DB_HOST=oleunaelim-db
DB_PORT=5432
DB_USERNAME=root
DB_USER_PASSWORD=root
DATABASE_NAME=oleunaelim

PORT=3000
SWAGGER_USER=admin
SWAGGER_PASSWORD=admin1212
9 changes: 9 additions & 0 deletions src/config/env/.local.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
DB_HOST
DB_PORT
DB_USERNAME
DB_USER_PASSWORD
DATABASE_NAME

PORT
SWAGGER_USER
SWAGGER_PASSWORD
9 changes: 9 additions & 0 deletions src/config/env/.production.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
DB_HOST
DB_PORT
DB_USERNAME
DB_USER_PASSWORD
DATABASE_NAME

PORT
SWAGGER_USER
SWAGGER_PASSWORD

0 comments on commit 99ce159

Please sign in to comment.