-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env.example
48 lines (37 loc) · 1.99 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
NODE_ENV=development
HOST=http://localhost/meditor # No docker? http://localhost:3000/meditor
NEXTAUTH_URL=http://localhost/meditor/api/auth # No docker? http://localhost:3000/meditor/api/auth
NEXTAUTH_URL_INTERNAL=http://meditor_app:3000/meditor/api/auth # No docker? http://localhost:3000/meditor/api/auth
NEXTAUTH_SECRET=ThisSecretEncryptsTheAuthJWTToken
# uncomment if running Mongo outside of Docker
#MONGO_URL=mongodb://localhost:27017/
# uncomment if running NATS outside of Docker
# MEDITOR_NATS_SERVER=nats://localhost:4222 # if running NATS outside of Docker
# include in your .env to disable email notifications, if disabled you will see the email in the logs instead of an actual
# email being sent
DISABLE_EMAIL_NOTIFICATIONS=true
AUTH_HOST=urs.earthdata.nasa.gov
AUTH_CLIENT_ID=ask-someone-for-this
AUTH_CLIENT_SECRET=ask-someone-for-this
MAIL_HOST=ndc-relay.ndc.nasa.gov
# Uncomment if you are planning to use Cognito for login
# follow the steps for creating a client at: https://www.npmjs.com/package/passport-cognito-oauth2
#COGNITO_CLIENT_DOMAIN=theCognitoClientDomain
#COGNITO_CLIENT_ID=theCognitoClientID
#COGNITO_CLIENT_SECRET=shhItsaSecret
#COGNITO_INITIATE_AUTH_CLIENT_ID=theCognitoClientIDWithoutASecret
#COGNITO_REGION=theCognitoRegion
#COGNITO_USER_IDENTIFIER=UID-or-USERNAME
#COGNITO_USER_POOL_ID=theUserPoolID
# See project root ReadMe for documentation.
UI_ALLOWED_URL_THEME=EDPub
# UI_THEME=EDPub
# optionally apply a list of user roles on first signin, separated by a space (ex. "News.Author News.Publisher Users.Author")
NEW_USER_ROLES=
# optional way to override the default log level (default is "INFO", "DEBUG" is used when in NODE_ENV=development)
# one of: ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, MARK, OFF (see Log4JS docs for details)
LOG_LEVEL=
# used when the origin URL of mEditor's host is needed
MEDITOR_ORIGIN=http://localhost
# Escaped JSON array as a string. E.g., "[{ \"token\":\"dGhpcy1pcy1hLXRva2VuLWZvci1lbmRwb2ludC0x\",\"URL\":\"http://example.com/1\" }]"
UI_WEBHOOKS="[]"