-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
26 lines (24 loc) · 1.21 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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
ENABLE_ACCESS_LOGGING=true
ENABLE_HTTPS_FOR_DEV=false
ERROR_LOG_FILE=logs/error.log
ALL_LOG_FILE=logs/all.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=testuser # ignored if CRED_STATUS_DB_URL is configured
CRED_STATUS_DB_PASS=testpass # ignored if CRED_STATUS_DB_URL is configured
CRED_STATUS_DB_NAME= # autogenerated if omitted
STATUS_CRED_TABLE_NAME= # autogenerated if omitted
USER_CRED_TABLE_NAME= # autogenerated if omitted
CONFIG_TABLE_NAME= # autogenerated if omitted
EVENT_TABLE_NAME= # autogenerated if omitted
CRED_EVENT_TABLE_NAME= # autogenerated if omitted