forked from tenbergen/CPRTool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.example
executable file
·41 lines (31 loc) · 1.79 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
# The domain to be used. Include the protocol and optionally, the port to be used.
URL=http://localhost:3000
# The links used for the JWK tokens that the login microservice produces
#Set to http://172.17.0.1:3000/jwt/ibm/api/cpr_access/jwk if running docker build locally
#Set to the value of URL+/jwt/ibm/api/cpr_access/jwk if running docker build in production environment
#Set to http://localhost:13126/jwt/ibm/api/cpr_access/jwk if running each microservice separately
JWK_ACCESS_URL=http://172.17.0.1:3000/jwt/ibm/api/cpr_access/jwk
#Set to http://172.17.0.1:3000/jwt/ibm/api/cpr_refresh/jwk if running docker build locally
#Set to the value of URL+/jwt/ibm/api/cpr_access/jwk if running docker build in production environment
#Set to http://localhost:13126/jwt/ibm/api/cpr_refresh/jwk if running each microservice separately
JWK_REFRESH_URL=http://172.17.0.1:3000/jwt/ibm/api/cpr_refresh/jwk
# Google OAuth2 credentials. Match those with your OAuth2 credentials at https://console.cloud.google.com/apis/
CLIENT_ID= 881555619940-tf3a720vc8c3n0i0vltslns5n7h11fqi.apps.googleusercontent.com
CLIENT_SECRET= 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
# Database name, root username, and root password to be initialized in Docker container.
MONGO_INITDB_DATABASE=cpr
MONGO_INITDB_ROOT_USERNAME=root
MONGO_INITDB_ROOT_PASSWORD=password
# Database authentication credentials. Mongo hostname is defaulted to corresponding Docker's mongo service name.
# Don't change the value of the ports
# If running locally in development enviroment without Docker, set to "true".
LOCALHOST=false
MONGO_PORT=27037
MONGO2_PORT=27038
MONGO3_PORT=27039
MONGO4_PORT=27040
MONGO5_PORT=27041
MONGO_USERNAME=root
MONGO_PASSWORD=password
# This one should be the same as MONGO_INITDB_DATABASE unless you intend to use a different database.
MONGO_DATABASE=cpr