-
Notifications
You must be signed in to change notification settings - Fork 0
/
envvars-dev.sample
72 lines (59 loc) · 2.06 KB
/
envvars-dev.sample
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# MONGODB
export MONGO_PORT=27017
export MONGO_INITDB_ROOT_USERNAME=
export MONGO_INITDB_ROOT_PASSWORD=
## Configuring for the portal
export MONGO_INITDB_DATABASE=phccp-dev
export MONGO_USERNAME=
export MONGO_PASSWORD=
# PORTAL
export NODE_ENV=development
export CLIENT_PORT=443
export PORT=
export DOMAIN=https://localhost
## Session secret
export SESSION_SECRET=phccp-secret
## Configuring SSL
export SSL_KEY=`cat ./certs/server.key`
export SSL_CERT=`cat ./certs/server.cert`
## Configuring connection with MongoDB
export MONGODB_PROTOCOL=mongodb
export MONGODB_IP=localhost
export MONGODB_PORT=${MONGO_PORT}
export MONGODB_PATH=/${MONGO_INITDB_DATABASE}
export MONGODB_USER=
export MONGODB_PASSWORD=
export MONGODB_SSL=
export MONGODB_SSL_VALIDATE= # Set to false when using self-signed certificate
export MONGODB_SSL_CA= # Content of CA's certificate (not the path)
export MONGODB_SSL_KEY= # Content of the key (default: read ./certs/server.key)
export MONGODB_SSL_CERT= # Content of the certificate (default: read ./certs/server.cert)
## Initialization (credentials works with local and SSO auth strategies)
export [email protected]
export APP_INIT_ADMIN_PASSWORD=admin
export APP_INIT_DB_SEED_NAME=default
## export CONTACT_US_URL=https://sagebionetworks.org
## Enabling local authentication
export AUTH_LOCAL=true
## Enabling Google OAuth 2.0
export OAUTH_GOOGLE_ID=
export OAUTH_GOOGLE_SECRET=
## Enabling Google SAML
export SAML_GOOGLE_ENTRY_POINT=
export SAML_GOOGLE_ISSUER=
## Enabling Microsoft Azure AD OpenID Connect (demo)
export AZUREAD_OPENIDCONNECT_IDENTITY_METADATA=
export AZUREAD_OPENIDCONNECT_CLIENT_ID=
export AZUREAD_OPENIDCONNECT_CLIENT_SECRET=
## Enabling Roche Azure AD
export ROCHE_AZURE_AD_IDENTITY_METADATA=
export ROCHE_AZURE_AD_CLIENT_ID=
export ROCHE_AZURE_AD_CLIENT_SECRET=
# NEO4J
export NEO4J_USERNAME=neo4j
export NEO4J_PASSWORD=neo4jpassword
# PROVENANCE
export PROVENANCE_API_SERVER_PROTOCOL=http
export PROVENANCE_API_SERVER_IP=localhost
export PROVENANCE_API_SERVER_PORT=8080
export PROVENANCE_API_SERVER_PATH=/rest/v1