diff --git a/ansible/roles/stack-sunbird/templates/ml-core-service.env b/ansible/roles/stack-sunbird/templates/ml-core-service.env index a62d40db2a561780d1377dd98918232f738081e2..8845454134b0424591c93401ef7f73ec63b1c566 100755 --- a/ansible/roles/stack-sunbird/templates/ml-core-service.env +++ b/ansible/roles/stack-sunbird/templates/ml-core-service.env @@ -10,7 +10,7 @@ APPLICATION_ENV={{ml_core_node_env|default("development")}} ENABLE_CONSOLE_LOGGING={{ml_core_enable_debug_logging | default("OFF")}} # Mongo DB Configuration -MONGODB_URL=mongodb://{{ml_core_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/{{env}}-ml-survey +MONGODB_URL=mongodb://{{ml_core_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/ml-survey # Secure token access Admin related API's # The value of internal access token can be generated by command - "openssl rand -hex 10 diff --git a/ansible/roles/stack-sunbird/templates/ml-projects-service.env b/ansible/roles/stack-sunbird/templates/ml-projects-service.env index c041f2198977e9c45bb3e7f82a52693510b49649..ae3db96f9057ed6ae626f541aa7dd0b7203dd765 100644 --- a/ansible/roles/stack-sunbird/templates/ml-projects-service.env +++ b/ansible/roles/stack-sunbird/templates/ml-projects-service.env @@ -11,7 +11,7 @@ INTERNAL_ACCESS_TOKEN={{ml_core_internal_access_token}} # Mongo db configurations # Mongodb host -MONGODB_URL=mongodb://{{ml_project_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/{{env}}-ml-survey +MONGODB_URL=mongodb://{{ml_project_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/ml-survey # ML Core Service ML_CORE_SERVICE_URL={{ml_core_service_url | default("http://ml-core-service:3000")}} diff --git a/ansible/roles/stack-sunbird/templates/ml-survey-service.env b/ansible/roles/stack-sunbird/templates/ml-survey-service.env index 4241d0aea40463b2cceb9359b66a872540ff327a..2d6fab6951f094e348b2b01fe04a7945cb6c9046 100644 --- a/ansible/roles/stack-sunbird/templates/ml-survey-service.env +++ b/ansible/roles/stack-sunbird/templates/ml-survey-service.env @@ -6,7 +6,7 @@ APPLICATION_PORT={{ml_survey_port | default("3000")}} APPLICATION_ENV={{ml_survey_node_env|default("development")}} # Mongodb connection url -MONGODB_URL=mongodb://{{ml_survey_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/{{env}}-ml-survey +MONGODB_URL=mongodb://{{ml_survey_mongodb_url | default(groups['mongo_master'][0]+':27017')}}/ml-survey # Base url of the sunbird enviornment USER_SERVICE_URL={{ml_survey_user_service_URL | default("http://learner-service:9000")}}