generated from xgeekshq/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: how to run and env example files
- Loading branch information
1 parent
31b9189
commit d8c87a1
Showing
8 changed files
with
117 additions
and
55,999 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# database host value | ||
DB_HOST=localhost | ||
|
||
# admin username | ||
DB_ROOT_USER=admin | ||
|
||
# admin password | ||
DB_ROOT_PASSWORD=password | ||
|
||
# user with lower privileges | ||
DB_USER=dcuser | ||
|
||
# password for the user | ||
DB_PASSWORD=password | ||
|
||
# database name | ||
DB_NAME=dc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# database host value | ||
DB_HOST=localhost | ||
|
||
# user with lower privileges | ||
DB_USER=admin | ||
|
||
# password for the user | ||
DB_PASSWORD=password | ||
|
||
# database name | ||
DB_NAME=dc | ||
|
||
# database port | ||
DB_PORT=27017 | ||
|
||
# backend port | ||
BACKEND_PORT=3200 | ||
|
||
# a strong secret to sign the access tokens | ||
JWT_ACCESS_TOKEN_SECRET=a_strong_secret | ||
|
||
# expiration time of refresh token in seconds | ||
JWT_ACCESS_TOKEN_EXPIRATION_TIME=900 | ||
|
||
# a strong secret to sign the refresh tokens | ||
JWT_REFRESH_TOKEN_SECRET=another_strong_secret | ||
|
||
# expiration time of refresh token in days | ||
JWT_REFRESH_TOKEN_EXPIRATION_TIME=1 |
Oops, something went wrong.