-
Notifications
You must be signed in to change notification settings - Fork 0
/
envvars-prod.sample
70 lines (58 loc) · 2.1 KB
/
envvars-prod.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
# MONGODB
export MONGO_PORT=27017
export MONGO_INITDB_ROOT_USERNAME=admin
export MONGO_INITDB_ROOT_PASSWORD=password
## Configuring for the portal
export MONGO_INITDB_DATABASE=phccp
export MONGO_USERNAME=app
export MONGO_PASSWORD=app123
# PORTAL
export NODE_ENV=production
export CLIENT_PORT=
export PORT=443
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=${MONGO_USERNAME}
export MONGODB_PASSWORD=${MONGO_PASSWORD}
export MONGODB_SSL=true
export MONGODB_SSL_VALIDATE=false # Set to false when using self-signed certificate
export MONGODB_SSL_CA= # Content of CA's certificate
export MONGODB_SSL_KEY=`cat ./certs/server.key` # Content of the key (default: read ./certs/server.key)
export MONGODB_SSL_CERT=`cat ./certs/server.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
## 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