/
sunbird_lms-service.env
175 lines (160 loc) · 8.61 KB
/
sunbird_lms-service.env
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
sunbird_sso_publickey={{sunbird_sso_publickey}}
sunbird_sso_url={{keycloak_auth_server_url}}/
sunbird_sso_realm={{keycloak_realm}}
sunbird_sso_username={{sunbird_sso_username}}
sunbird_sso_password={{sunbird_sso_password}}
sunbird_sso_client_id={{sunbird_sso_client_id}}
sunbird_sso_client_secret={{sunbird_sso_client_secret | d('')}}
sunbird_es_host={{sunbird_es_host}}
sunbird_es_port={{sunbird_es_port}}
sunbird_cassandra_username=cassandra
sunbird_cassandra_password=password
actor_hostname=actor-service
bind_hostname=0.0.0.0
ekstep_authorization={{sunbird_ekstep_api_key}}
sunbird_pg_host={{sunbird_pg_host}}
sunbird_pg_port={{sunbird_pg_port}}
sunbird_pg_db={{sunbird_pg_db}}
sunbird_pg_user={{sunbird_pg_user}}
sunbird_pg_password={{sunbird_pg_password}}
sunbird_installation={{sunbird_installation}}
sunbird_analytics_api_base_url={{sunbird_analytics_api_base_url}}
sunbird_search_service_api_base_url={{ lms_search_service_api_base_url | default('http://search-service:9000') }}
ekstep_api_base_url={{ lms_ekstep_api_base_url | default('http://content-service:9000') }}
sunbird_group_service_api_base_url={{sunbird_group_service_api_base_url}}
sunbird_mail_server_host={{sunbird_mail_server_host}}
sunbird_mail_server_port={{sunbird_mail_server_port}}
sunbird_mail_server_username={{sunbird_mail_server_username}}
sunbird_mail_server_password={{sunbird_mail_server_password}}
sunbird_mail_server_from_email={{sunbird_mail_server_from_email}}
sunbird_encryption_key={{sunbird_encryption_key}}
sunbird_encryption_mode={{sunbird_encryption_mode}}
sunbird_account_name={{cloud_public_storage_accountname}}
sunbird_account_key={{cloud_public_storage_secret}}
sunbird_quartz_mode={{sunbird_sunbird_quartz_mode}}
sunbird_web_url={{sunbird_web_url}}
sunbird_msg_91_auth={{sunbird_msg_91_auth}}
sunbird_msg_sender={{sunbird_msg_sender}}
sunbird_installation_email={{sunbird_installation_email}}
{% if (cassandra_cluster_size | int) > 1 %}
sunbird_cassandra_host={{groups['cassandra']|join(',')}}
sunbird_cassandra_port=9042,9042,9042
{% else %}
sunbird_cassandra_host={{sunbird_cassandra_host}}
sunbird_cassandra_port=9042
{% endif %}
sunbird_cassandra_consistency_level={{sunbird_cassandra_consistency_level}}
sunbird_mw_system_host=lms-service
sunbird_mw_system_port=8088
background_actor_provider=local
api_actor_provider=local
sunbird_badger_baseurl=http://badger-service:8004
sunbird_remote_req_router_path=akka.tcp://SunbirdMWSystem@actor-service:8088/user/RequestRouter
sunbird_remote_bg_req_router_path=akka.tcp://SunbirdMWSystem@actor-service:8088/user/BackgroundRequestRouter
sunbird_api_base_url=http://knowledge-mw-service:5000
sunbird_authorization={{sunbird_api_auth_token}}
telemetry_pdata_id={{sunbird_telemetry_pdata_id}}
telemetry_pdata_pid=lms-service
sunbird_telemetry_base_url=http://telemetry-service:9001
telemetry_queue_threshold_value=100
sunbird_default_channel={{sunbird_default_channel}}
sunbird_api_mgr_base_url=http://knowledge-mw-service:5000
sunbird_cs_base_url=http://knowledge-mw-service:5000
sunbird_cs_search_path=/v1/search
sunbird_env_logo_url={{sunbird_env_logo_url}}
sunbird_user_bulk_upload_size={{sunbird_user_bulk_upload_size}}
sunbird_installation_display_name={{sunbird_installation_display_name}}
sunbird_app_name={{sunbird_app_name|default('Sunbird')}}
sunbird_registry_service_baseurl=http://registry_registry:8080/
sunbird_open_saber_bridge_enable={{sunbird_open_saber_bridge_enable|default('false')}}
sunbird_environment={{sunbird_environment}}
sunbird_instance={{sunbird_instance}}
sunbird_email_max_recipients_limit={{sunbird_email_max_recipients_limit}}
sunbird_url_shortner_access_token={{sunbird_url_shortner_access_token}}
sunbird_url_shortner_enable={{sunbird_url_shortner_enable}}
sunbird_user_profile_field_default_visibility={{sunbird_user_profile_field_default_visibility}}
sunbird_keycloak_required_action_link_expiration_seconds={{sunbird_keycloak_required_action_link_expiration_seconds}}
sunbird_course_batch_notification_enabled={{sunbird_course_batch_notification_enabled}}
sunbird_course_batch_notification_signature={{sunbird_course_batch_notification_signature}}
sunbird_otp_expiration={{sunbird_otp_expiration}}
sunbird_otp_length={{sunbird_otp_length}}
sunbird_content_cloud_storage_container={{cloud_storage_content_bucketname}}
# Release-1.14
sunbird_time_zone={{sunbird_time_zone}}
# Release-1.15
sunbird_health_check_enable={{sunbird_health_check_enable}}
sunbird_keycloak_user_federation_provider_id={{core_vault_sunbird_keycloak_user_federation_provider_id}}
sunbird_gzip_enable={{sunbird_gzip_enable}}
sunbird_gzip_size_threshold={{sunbird_gzip_size_threshold | default(262144)}}
sunbird_analytics_blob_account_name={{cloud_private_storage_accountname}}
sunbird_analytics_blob_account_key={{cloud_private_storage_secret}}
# Optional for caching
sunbird_cache_enable={{sunbird_cache_enable | default(false)}}
# Set below variables if above true
sunbird_redis_host={{sunbird_redis_host}}
sunbird_redis_port={{sunbird_redis_port|default(6379)}}
sunbird_user_org_api_base_url={{ sunbird_user_service_api_base_url }}
kafka_topics_instruction={{kafka_topics_instruction}}
kafka_urls={{kafka_urls}}
kafka_topics_certificate_instruction={{kafka_topics_certificate_instruction}}
kafka_assessment_topic={{kafka_assessment_topic}}
kafka_topics_contentstate_invalid={{kafka_topics_contentstate_invalid}}
kafka_enrolment_sync_topic={{kafka_enrolment_sync_topic}}
# Required by lms service to call cert service
sunbird_cert_service_base_url=http://cert-service:9000
learning_service_base_url={{sunbird_content_repo_api_base_url}}
sunbird_user_search_cretordetails_fields=id,firstName,lastName
sunbird_user_service_api_base_url={{ sunbird_user_service_api_base_url }}
limit_managed_user_creation={{limit_managed_user_creation | default(true)}}
managed_user_limit={{managed_user_limit | default(30)}}
sunbird_user_qrcode_courses_limit={{sunbird_user_qrcode_courses_limit|default(5000)}}
## Access Keys ##
accesstoken.publickey.basepath={{lms_device_basepath | default('/keys/')}}
learning.content.props.to.add={{ learning_content_props_to_add | default('mimeType,contentType,name,code,description,keywords,framework,copyright,topic')}}
group_activity_agg_cache_ttl={{ group_activity_agg_cache_ttl }}
group_activity_agg_cache_enable={{ group_activity_agg_cache_enable }}
sunbird_env_name={{env_name}}
## Redis connection detail ##
redis.connection.max={{ lms_redis_connection_max | default(64) }}
redis.connection.idle.max={{ lms_redis_connection_idle_max | default(32) }}
redis.connection.idle.min={{ lms_redis_connection_idle_min | default(1) }}
redis.connection.minEvictableIdleTimeSeconds={{ lms_redis_connection_minEvictableIdleTimeSeconds | default(120) }}
redis.connection.timeBetweenEvictionRunsSeconds={{ lms_redis_connection_timeBetweenEvictionRunsSeconds | default(300) }}
redis.experimentIndex={{ lms_redis_experimentIndex | default(10) }}
redis.dbIndex={{ lms_redis_dbIndex | default(2) }}
user_enrolments_response_cache_enable={{ user_enrolments_response_cache_enable | default(true)}}
user_enrolments_response_cache_ttl={{ user_enrolments_response_cache_ttl | default(300) }}
##collection-summary-agg-api
druid_proxy_api_host={{groups['raw-broker'][0]}}
druid_proxy_api_port=8082
druid_proxy_api_endpoint=/druid/v2/
collection_summary_agg_data_source={{ summary_agg_data_source | default('audit-rollup-syncts') }}
collection_summary_agg_cache_ttl={{ summary_agg_ttl | default(21600) }}
enrollment_list_size={{ enrollment_list_size | default(1000) }}
# Release-5.0.0
sunbird_cloud_service_provider={{cloud_service_provider}}
isMultiDCEnabled={{cassandra_multi_dc_enabled}}
# Release-5.0.1
cloud_storage_base_url={{cloud_storage_base_url}}
cloud_storage_cname_url={{ cloud_storage_cname_url | default('') }}
cloud_storage_dial_bucketname={{ cloud_storage_dial_bucketname | default('dial') }}
cloud_storage_path_prefix_dial={{ cloudstorage_relative_path_prefix_dial | default('DIAL_STORAGE_BASE_PATH') }}
cloud_store_base_path_placeholder={{ cloud_store_base_path_placeholder | default('CLOUD_BASE_PATH') }}
# Release-5.2.0 LR-325
sunbird_dial_service_base_url={{ dial_service_url | default('http://dial-service:9000') }}
sunbird_dial_service_search_url="/v1/dialcode/search"
# Release-5.3.0 LR-539
exhaust_api_base_url={{ analytics_service_url | default('http://analytics-service:9000') }}
exhaust_api_submit_endpoint=/request/submit
exhaust_api_list_endpoint=/request/list/
# Release-5.3.0 LR-324
content_read_url=/content/v3/read/
# Release-5.4.0 - LR-511
sunbird_keyspace=sunbird
sunbird_course_keyspace=sunbird_courses
sunbird_redis_db_index={{sunbird_redis_db_index|default(0)}}
es_course_index=cbatch
es_course_batch_index=course-batch
es_user_index=user
es_organisation_index=org
es_user_courses_index=user-courses