Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 8.73 KB

File metadata and controls

5 lines (3 loc) · 8.73 KB

Configuration

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

S. No.VARIABLE 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 URLTo change the learner service URLhttps://staging.sunbirded.org/api/
7sunbird_content_player_urlRepresents the content service proxy URLTo change content service proxy URLhttps://dockstaging.sunbirded.org/api/
8sunbird_content_proxy_urlRepresents the proxy URL address to load pluginsTo load pluginshttps://dockstaging.sunbirded.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 consumption sunbird instance APIsTo connect the services
11dock_api_auth_tokenRepresents the auth token to connect sourcing sunbird instance APIsTo connect the services
12sunbird_echo_api_urlRepresents the URL to validate the SSO tokenTo validate the JWT Token from the trampoline servicehttps://staging.sunbirded.org/api/echo/
13sunbird_device_register_apiRepresents the URL to registers the device on which portal is openedTo save the device details
14sunbird_extcont_whitelisted_domainsList of the domains to whitelistEase to add the domains in the whitelisting list youtube.com,youtu.be
15sunbird_help_link_visibilityValue to define if the help link should be visible in the coKreat web portal or notTo enable or disable help linksfalse
16sunbird_portal_user_upload_ref_linkURL of the user upload instruction documentTo get the instruction about user uploadhttp://www.sunbird.org/features-documentation/register_user
17config_service_enabledTo enable/disable the fetching of configuration details from config serviceTo enable/disable the fetching of configuration detailsfalse
18dock_api_call_log_statusTo enable/disable the API logsTo enable/disable the API logsfalse
19dock_questionSet_enableTo enable/disable the workflow to create the questionsets in the portal To let the users to / not to create the questionSets on the portaltrue
20dock_default_file_sizeDefines the size of the fie user is able to upload in the systemTo restrict the user to upload large files in the system150
21dock_default_video_sizeDefines the size of the video user is able to upload in the systemTo restrict the user to upload large videos in the system15000
22opensaber_service_urlRepresents the URL pointing to contribution registryTo connect to the contribution registry servicehttps://dockstaging.sunbirded.org/api/reg
23sunbird_questionset_children_limitDefines the number of children a question set can haveTo restrict the number of children a user can create under a questionset500
24sunbird_collection_children_limitDefines the number of children a collection can haveTo restrict the number of children a user can create under a collection1200
25sunbird_bulk_upload_name_lengthDefines the number of character length limit enforced on the name of the content in the bulk upload csvTo set the character length limit on the name of the content in the bulk upload csv50
26sunbird_bulk_upload_description_lengthRepresents the character length limit enforced on the description of the content in the bulk upload csvTo set the character length limit on the description of the content in the bulk upload csv500
27sunbird_accessibility_guidelines_urlDefines the URL when content accessibility guidelines will be fetchedTo enable user to configure own content accessibility guidelines
28allowed_framework_typesDefines the list of framework types that are showed while creating a projectTo enable user to configure what type of framework types allowed
29config_refresh_intervalRepresents the interval in minutes to refresh the fetching of configurationsTo set the interval of time within which configurations are refreshed10
30sunbird_api_response_cache_ttlRepresents the Time-to-Live (TTL) for the API response cache in secondsTo set cache for API responses in seconds600
31sunbird_keycloak_publicRepresents the keycloak
32sunbird_keycloak_realmRepresents the Keycloak realmsunbird
33sunbird_trampoline_client_idRepresents the trampoline client IDTo identify the client using the trampoline servicetrampoline
34sunbird_trampoline_secretRepresents the trampoline secret
35sunbird_autocreate_trampoline_userIn case there are no users, auto create a user from the trampoline serviceTo change the handle for user creation from trampoline servicetruefalse
36portal_cloud_storage_urlURLs are stored and get the assets passed to editors from portal as configTo change the assets and data storage by setting this env
37sunbird_cache_storeRepresents the storage to store portal cacheTo set the cache storage typememory
38sunbird_session_store_typeRepresents the storage to store portal sessionsTo set the storage typein-memory
39sunbird_portal_default_languageTo set the default language of the portalSet the display language of the portalen
40sunbird_dataservice_urlRepresents the data service URLThe URL to access the data serviceshttps://staging.sunbirded.org/api/
41sunbird_learner_service_upstream_urlRepresents the Learner service urlThe URL to access the learner serviceshttps://dockstaging.sunbirded.org/api/
42sunbird_content_service_local_base_urlRepresents the Content service urlThe URL to access the content serviceshttps://dockstaging.sunbirded.org/api/
43sunbird_portal_preview_cdn_urlContent player CDN preview URLTo load the content player from CDN
44sunbird_processing_kafka_hostProcessing Kafka host URLTo send Kafka messages to process Kafka host URL
45sunbird_sso_ kafka_topicKafka topic for SSOTo send Kafka messages in SSO flow