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 NO
VARIABLE NAME
DESCRIPTION
PURPOSE
DEFAULT VALUE
1
sunbird_portal_realm
Represents the Keycloak realm value
The realm value of Keycloak to update in each installation
sunbird
2
sunbird_portal_auth_server_url
Represents the Keycloak authorization service URL
To connect to the Keycloak server
https://staging.open-sunbird.org/auth
3
sunbird_portal_auth_server_client
Represents the client ID of the Keycloak client
To update the client ID
portal
4
sunbird_environment
Represents the environment where the instance is running
To send the telemetry with proper pdata and for other purposes
5
sunbird_instance
Represents the name of the instance
To set up the name of the instance
6
sunbird_learner_player_url
Represents the learner service proxy URL
To change the learner service proxy URL
https://staging.open-sunbird.org/api/
7
sunbird_content_player_url
Represents the content service proxy URL
To change content service proxy URL
https://staging.open-sunbird.org/api/
8
sunbird_content_proxy_url
Represents the proxy URL address to load plugins
To load plugins
https://staging.open-sunbird.org
9
sunbird_default_channel
Represents the default channel of the installation, same as in learner service and content service
To set default channel for installation
10
sunbird_api_auth_token
Represents the auth token to connect APIs
To connect the services
11
sunbird_telemetry_packet_size
Represents the size of the batch to sync data
To set the size of events to be synced
20
12
sunbird_echo_api_url
Represents the URL to validate the SSO token
To validate the JWT Token from the trampoline service
https://staging.open-sunbird.org/api/echo/
13
sunbird_autocreate_trampoline_user
In case there are no users, auto create a user from the trampoline service
To change the handle for user creation from trampoline service
true
14
sunbird_trampoline_client_id
Represents the trampoline client ID
To identify the client using the trampoline service
trampoline
15
sunbird_trampoline_secret
Represents the trampoline secret
16
sunbird_session_store_type
Represents the storage to store portal sessions
To set the storage type
in-memory
17
sunbird_portal_title_name
Represents the title displayed in browser
To update title name for browser
Sunbird
18
sunbird_portal_cdn_url
Represents the CDN BASE URL where static assets are stored
To update the CDN based on implementation
19
sunbird_portal_default_language
To set the default language of the portal
Set the display language of the portal
en
Copy link
Edit on GitHub