-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(agora): change agora-api to construct mongo URI from host, usern…
…ame, password, port, and DB name env variables (AG-1592) (#2967)
- Loading branch information
1 parent
c02e5df
commit 7fbf496
Showing
5 changed files
with
39 additions
and
7 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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
MONGODB_URI="mongodb://root:changeme@agora-mongo:27017/agora?authSource=admin" | ||
MONGODB_PASS="changeme" | ||
MONGODB_USER="root" | ||
MONGODB_HOST="agora-mongo" | ||
MONGODB_PORT="27017" | ||
MONGODB_NAME="agora" | ||
NODE_ENV="development" |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
API_DOCS_URL="http://localhost:8000/api-docs" | ||
APP_VERSION="4.0.0" | ||
CSR_API_URL="http://localhost:8000/api/v1" | ||
SSR_API_URL="http://agora-api:3333/v1" | ||
SSR_API_URL="http://agora-api:3333/v1" | ||
ROLLBAR_TOKEN="e788198867474855a996485580b08d03" | ||
TAG_NAME="agora/v4.0.0-rc1" |
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