-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds service based environment variable files; updates readme instruc…
…tions
- Loading branch information
Showing
5 changed files
with
107 additions
and
72 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,18 @@ | ||
# see the README for an explanation of all env values | ||
|
||
# General environment variables | ||
CRED_STATUS_SERVICE=mongodb | ||
CRED_STATUS_DID_SEED=z1AackbUm8U69ohKnihoRRFkXcXJd4Ra1PkAboQ2ZRy1ngB | ||
PORT=4008 # default port is 4008 | ||
LOG_ALL_FILE=logs/all.log | ||
ERROR_LOG_FILE=logs/error.log | ||
CONSOLE_LOG_LEVEL=silly # default is silly, i.e. log everything - see the README for allowed levels | ||
LOG_LEVEL=silly # default is silly | ||
|
||
# Database specific environment variables | ||
STATUS_CRED_SITE_ORIGIN=https://credentials.example.edu | ||
CRED_STATUS_DB_URL=mongodb+srv://user:[email protected]?retryWrites=false | ||
CRED_STATUS_DB_HOST=domain.mongodb.net # ignored if CRED_STATUS_DB_URL is configured | ||
CRED_STATUS_DB_PORT=27017 # ignored if CRED_STATUS_DB_URL is configured | ||
CRED_STATUS_DB_USER=user # ignored if CRED_STATUS_DB_URL is configured | ||
CRED_STATUS_DB_PASS=pass # ignored if CRED_STATUS_DB_URL is configured |
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,16 +1,16 @@ | ||
# see the README for an explanation of all env values | ||
|
||
PORT=4008 # default port is 4008 | ||
|
||
# replace the following with your own values | ||
# General environment variables | ||
CRED_STATUS_SERVICE=github | ||
CRED_STATUS_REPO_OWNER=digitalcredentials | ||
CRED_STATUS_REPO_NAME=credential-status-test-jc | ||
CRED_STATUS_META_REPO_NAME=credential-status-metadata-test-jc | ||
CRED_STATUS_ACCESS_TOKEN=REPLACE_THIS_WITH_A_GITHUB_ACCESS_TOKEN | ||
CRED_STATUS_DID_SEED=z1AackbUm8U69ohKnihoRRFkXcXJd4Ra1PkAboQ2ZRy1ngB | ||
|
||
PORT=4008 # default port is 4008 | ||
LOG_ALL_FILE=logs/all.log | ||
ERROR_LOG_FILE=logs/error.log | ||
CONSOLE_LOG_LEVEL=silly # default is silly, i.e. log everything - see the README for allowed levels | ||
LOG_LEVEL=silly # default is silly | ||
LOG_LEVEL=silly # default is silly | ||
|
||
# Git specific environment variables | ||
CRED_STATUS_REPO_OWNER=digitalcredentials | ||
CRED_STATUS_REPO_NAME=credential-status-test-jc | ||
CRED_STATUS_META_REPO_NAME=credential-status-metadata-test-jc | ||
CRED_STATUS_ACCESS_TOKEN=REPLACE_THIS_WITH_A_GITHUB_ACCESS_TOKEN |
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
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