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: readme - how to use. Env example files (#54)
- Loading branch information
1 parent
5b279d3
commit 3169d13
Showing
4 changed files
with
117 additions
and
5 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 |
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,14 @@ | ||
# backend url exposed to the browser | ||
NEXT_PUBLIC_BACKEND_URL=http://localhost:3200 | ||
|
||
# backend internal url | ||
BACKEND_URL=http://backend:3200 | ||
|
||
# auth url exposed to the browser | ||
NEXTAUTH_URL=http://localhost:3000 | ||
|
||
# key id to sign the JWT token | ||
JWT_SIGNING_KEY_ID=asxguiSEmbzqr9oukSY4uGYooG-sB4XMQB9uhRbbnQ0 | ||
|
||
# key secret to sign the JWT token | ||
JWT_SIGNING_KEY=_Syz4zpGrqQCbwky4AkUQSm8FE8mpO4-Mwowr42sPeppnJmpKFLr8q6tlETXYpZ0rz8kwYx3VswXJiHOCDykCg |