Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
4af64c9e
Commit
4af64c9e
authored
May 05, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating config for env.json
parent
3cdcf268
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
playbooks/roles/edxapp/defaults/main.yml
+19
-3
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
4af64c9e
...
...
@@ -87,7 +87,8 @@ EDXAPP_BOOK_URL: ''
# This needs to be set to localhost
# if xqueue is run on the same server
# as the lms (it's sent in the request)
EDXAPP_SITE_NAME
:
'
localhost'
EDXAPP_LMS_SITE_NAME
:
'
localhost'
EDXAPP_CMS_SITE_NAME
:
'
localhost'
EDXAPP_MEDIA_URL
:
'
'
EDXAPP_ANALYTICS_SERVER_URL
:
'
'
EDXAPP_FEEDBACK_SUBMISSION_EMAIL
:
'
'
...
...
@@ -194,6 +195,14 @@ EDXAPP_EDX_API_KEY: ""
EDXAPP_VERIFY_STUDENT
:
{}
EDXAPP_GOOGLE_ANALYTICS_LINKEDIN
:
"
"
EDXAPP_CONTENTSTORE_ADDITIONAL_OPTS
:
{}
EDXAPP_BULK_EMAIL_EMAILS_PER_TASK
:
500
# If using microsites this should point to the microsite repo
EDXAPP_MICROSITE_ROOT_DIR
:
"
{{
edxapp_app_dir
}}/edx-microsite"
# this dictionary defines what microsites are configured
EDXAPP_MICROSITE_CONFIGRATION
:
{}
# Instructor code that will not be run in the code sandbox
EDXAPP_COURSES_WITH_UNSAFE_CODE
:
[]
EDXAPP_SESSION_COOKIE_DOMAIN
:
!!null
#-------- Everything below this line is internal to the role ------------
...
...
@@ -358,6 +367,10 @@ edxapp_generic_auth_config: &edxapp_generic_auth
GOOGLE_ANALYTICS_ACCOUNT
:
$EDXAPP_GOOGLE_ANALYTICS_ACCOUNT
generic_env_config
:
&edxapp_generic_env
COURSES_WITH_UNSAFE_CODE
:
$EDXAPP_COURSES_WITH_UNSAFE_CODE
BULK_EMAIL_EMAILS_PER_TASK
:
$EDXAPP_BULK_EMAIL_EMAILS_PER_TASK
MICROSITE_ROOT_DIR
:
$EDXAPP_MICROSITE_ROOT_DIR
MICROSITE_CONFIGURATION
:
$EDXAPP_MICROSITE_CONFIGRATION
GRADES_DOWNLOAD
:
STORAGE_TYPE
:
$EDXAPP_GRADE_STORAGE_TYPE
BUCKET
:
$EDXAPP_GRADE_BUCKET
...
...
@@ -375,7 +388,6 @@ generic_env_config: &edxapp_generic_env
FEATURES
:
$EDXAPP_FEATURES
WIKI_ENABLED
:
true
SYSLOG_SERVER
:
$EDXAPP_SYSLOG_SERVER
SITE_NAME
:
$EDXAPP_SITE_NAME
LOG_DIR
:
"
{{
COMMON_DATA_DIR
}}/logs/edx"
MEDIA_URL
:
$EDXAPP_MEDIA_URL
ANALYTICS_SERVER_URL
:
$EDXAPP_ANALYTICS_SERVER_URL
...
...
@@ -398,17 +410,19 @@ generic_env_config: &edxapp_generic_env
mongo_metadata_inheritance
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
integration_mongo_metadata_inheritance'
TIMEOUT
:
300
staticfiles
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
integration_static_files'
celery
:
<<
:
*default_generic_cache
KEY_PREFIX
:
'
integration_celery'
TIMEOUT
:
"
7200"
CELERY_BROKER_TRANSPORT
:
'
amqp'
CELERY_BROKER_HOSTNAME
:
$EDXAPP_RABBIT_HOSTNAME
COMMENTS_SERVICE_URL
:
$EDXAPP_COMMENTS_SERVICE_URL
LOGGING_ENV
:
$EDXAPP_LOGGING_ENV
SESSION_COOKIE_DOMAIN
:
!!null
SESSION_COOKIE_DOMAIN
:
$EDXAPP_SESSION_COOKIE_DOMAIN
COMMENTS_SERVICE_KEY
:
$EDXAPP_COMMENTS_SERVICE_KEY
SEGMENT_IO_LMS
:
true
THEME_NAME
:
$edxapp_theme_name
...
...
@@ -467,6 +481,7 @@ lms_auth_config:
lms_env_config
:
<<
:
*edxapp_generic_env
PAID_COURSE_REGISTRATION_CURRENCY
:
$EDXAPP_PAID_COURSE_REGISTRATION_CURRENCY
SITE_NAME
:
$EDXAPP_LMS_SITE_NAME
'
CODE_JAIL'
:
# from https://github.com/edx/codejail/blob/master/codejail/django_integration.py#L24, '' should be same as None
'
python_bin'
:
'
{%
if
EDXAPP_PYTHON_SANDBOX
%}{{
edxapp_sandbox_venv_dir
}}/bin/python{%
endif
%}'
...
...
@@ -479,6 +494,7 @@ cms_auth_config:
<<
:
*edxapp_generic_auth
cms_env_config
:
<<
:
*edxapp_generic_env
SITE_NAME
:
$EDXAPP_CMS_SITE_NAME
# install dir for the edx-platform repo
edxapp_code_dir
:
"
{{
edxapp_app_dir
}}/edx-platform"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment