-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.in
41 lines (32 loc) · 1.99 KB
/
.env.in
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
# If KURSUTVECKLING_API_URI is omitted, "http://localhost:3002/api/kursutveckling?defaultTimeout=10000" will be used
KURSUTVECKLING_API_URI=https://api-r.referens.sys.kth.se/api/kursutveckling?defaultTimeout=10000
# If API_KEY is omitted, default key 9876 will be used
API_KEY=<FROM AZURE KEYVAULT>
# If KURSSTATISTIK_API_URI is omitted, "http://localhost:3001/api/kursstatistik?defaultTimeout=90000" will be used
KURSSTATISTIK_API_URI=https://api-r.referens.sys.kth.se/api/kursstatistik?defaultTimeout=90000
# If KURSSTATISTIK_API_KEY is omitted, default key 1234 will be used
KURSSTATISTIK_API_KEY=<FROM AZURE KEYVAULT>
# If KOPPS_URI is omitted, https://api-r.referens.sys.kth.se/api/kopps/v2/ will be used
# APPLICATIONINSIGHTS_CONNECTION_STRING not needed if localhost
APPLICATIONINSIGHTS_CONNECTION_STRING=[Azure, Application insights, connection string, can be found in Overview]
BLOB_SERVICE_SAS_URL=[f.e., https://kursinfostoragestage.blob.core.windows.net/[params]&spr=https&sig=[generated signature]]
STORAGE_CONTAINER_NAME=kursutveckling-blob-container
/*If you want to start your server on another port, add the following two variables, else use default ones from serversettings.js*/
# SERVER_PORT=[your port for the server]
# SERVER_HOST_URL=http://localhost:[SERVER_PORT]
OIDC_APPLICATION_ID=<FROM AZURE KEYVAULT>
OIDC_CLIENT_SECRET=<FROM AZURE KEYVAULT>
OIDC_TOKEN_SECRET=<Random string>
OIDC_CONFIGURATION_URL=<not needed if localhost>
OIDC_CALLBACK_URL=<not needed if localhost>
OIDC_CALLBACK_SILENT_URL=<not needed if localhost>
OIDC_CALLBACK_LOGOUT_URL=<not needed if localhost>
# Connection Properties of UG Rest Api to fetch names of course staff
UG_REST_AUTH_API_TOKEN_URI=https://<LOGIN_HOST>/adfs/
UG_REST_AUTH_CLIENT_ID=<FROM AZURE KEYVAULT>
UG_REST_AUTH_CLIENT_SECRET=<FROM AZURE KEYVAULT>
UG_REST_API_URI=https://<UG_URL>
UG_REST_API_SUBSCRIPTION_KEY=<FROM AZURE INTEGRAL OR KEYVAULT>
REDIS_URI=<FROM AZURE KEYVAULT>
KURS_PM_DATA_API_URI=<FROM AZURE KEYVAULT>
KURS_PM_DATA_API_KEY=<FROM AZURE KEYVAULT>