Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 8.41 KB

sunbirded-portal.md

File metadata and controls

9 lines (5 loc) · 8.41 KB

SunbirdEd Portal

This page provides a list of environment variables with their default values, description and purpose as required to run the Sunbird portal service. To change default behavior, modify the variable value based on your requirements.

Variable List

S NOVARIABLE NAMEDESCRIPTIONPURPOSEDEFAULT VALUE
1sunbird_portal_realmRepresents the Keycloak realm valueThe realm value of Keycloak to update in each installationsunbird
2sunbird_portal_auth_server_urlRepresents the Keycloak authorization service URLTo connect to the Keycloak serverhttps://staging.open-sunbird.org/auth
3sunbird_portal_auth_server_clientRepresents the client ID of the Keycloak clientTo update the client IDportal
4sunbird_environmentRepresents the environment where the instance is runningTo send the telemetry with proper pdata and for other purposes
5sunbird_instanceRepresents the name of the instanceTo set up the name of the instance
6sunbird_learner_player_urlRepresents the learner service proxy URLTo change the learner service proxy URLhttps://staging.open-sunbird.org/api/
7sunbird_content_player_urlRepresents the content service proxy URLTo change content service proxy URLhttps://staging.open-sunbird.org/api/
8sunbird_content_proxy_urlRepresents the proxy URL address to load pluginsTo load pluginshttps://staging.open-sunbird.org
9sunbird_default_channelRepresents the default channel of the installation, same as in learner service and content serviceTo set default channel for installation
10sunbird_api_auth_tokenRepresents the auth token to connect APIsTo connect the services
11sunbird_telemetry_packet_sizeRepresents the size of the batch to sync dataTo set the size of events to be synced20
12sunbird_echo_api_urlRepresents the URL to validate the SSO tokenTo validate the JWT Token from the trampoline servicehttps://staging.open-sunbird.org/api/echo/
13sunbird_autocreate_trampoline_userIn case there are no users, auto create a user from the trampoline serviceTo change the handle for user creation from trampoline servicetrue
14sunbird_trampoline_client_idRepresents the trampoline client IDTo identify the client using the trampoline servicetrampoline
15sunbird_trampoline_secretRepresents the trampoline secret
16sunbird_session_store_typeRepresents the storage to store portal sessionsTo set the storage typein-memory
17sunbird_portal_title_nameRepresents the title displayed in browserTo update title name for browserSunbird
18sunbird_portal_cdn_urlRepresents the CDN BASE URL where static assets are storedTo update the CDN based on implementation
19sunbird_portal_default_languageTo set the default language of the portalSet the display language of the portalen
20sunbird_dataservice_urlRepresents the data service URLThe URL to access the data serviceshttps://staging.open-sunbird.org/api/
21sunbird_keycloak_publicRepresents the keycloak true
22sunbird_keycloak_realmRepresents the Keycloak realm sunbird
23sunbird_content_channel_filter_typeRepresents the filter type to show content based on the applied filter. By default it is set to ‘all’ which displays all content. If set to ‘self’, it shows the current channel content all
24sunbird_android_app_urlRepresents the android app URL in play storeUsed to set the android app URLhttp://www.sunbird.org
25sunbird_enable_signupEnables and disables signup functionalityTo enable and disable sign-in functionalitytrue
26sunbird_api_response_cache_ttlRepresents the Time-to-Live (TTL) for the API response cache in secondsTo set cache for API responses in seconds600
27sunbird_tenant_cdn_urlRepresents the URL of the CDN, the tenant specific files are stored hereTo render the static tenant pages from the CDN
28sunbird_cloud_storage_urlsURLs are stored and get the assets passed to editors from portal as configTo change the assets and data storage by setting this env
29sunbird_portal_user_upload_ref_linkURL of the user upload instruction documentTo get the instruction about user uploadhttp://www.sunbird.org/features-documentation/register_user
30config_service_enabledTo enable/disable the fetching of configuration details from config serviceTo enable/disable the fetching of configuration detailsfalse
31config_refresh_intervalRepresents the interval in minutes to refresh the fetching of configurationsTo set the interval of time within which configurations are refreshed1440
32sunbird_cassandra_urlsRepresents the URLs of Cassandra instanceUsed to connect to the Cassandra db127.0.0.1:9042
33sunbird_cassandra_consistency_levelRepresents the minimum number of Cassandra nodes that must acknowledge a read or write operation before the operation can be considered successfulUsed to mantain the data consistency of multi node Cassandraone
34sunbird_cassandra_replication_strategyRepresents data replication of CassandraTo replicate the Cassandra data set’{“class”:”SimpleStrategy”,”replication_factor”:1}’
35device_register_apiDevice registry ApiTo register/capture IP address/geo-location/device informationhttps://api.open-sunbird.org/v3/device/register/
36sunbird_azure_account_nameAzure account nameTo login to Azure account
37sunbird_azure_account_keyAzure account keyTo login to Azure account
38sunbird_azure_report_container_nameContainer for storing reportsTo store organization reportsreports
39sunbird_response_cache_ttlAPI response cache timeAPI response is cached with configured time in browser180
40sunbird_health_check_enableTo enable/disable health check APIIf dependent service is down, api call will not be proxy-ed if value is set to truetrue
41sunbird_cassandra_consistency_levelCassandra consistency levelUsed in cassandra configurationone
42sunbird_processing_kafka_hostProcessing Kafka host URLTo send Kafka messages to process Kafka host URL
43sunbird_sso_ kafka_topicKafka topic for SSOTo send Kafka messages in SSO flow
44sunbird_portal_preview_cdn_urlContent player CDN preview URLTo load the content player from CDN

\