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
edx
configuration
Commits
a858230a
Commit
a858230a
authored
Jun 17, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reference sandbox configuration
Configured to use localhost for mongo, mysql, memcache
parent
fe35ac5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
139 additions
and
0 deletions
+139
-0
playbooks/secure_example/vars/edxapp_sandbox.yml
+139
-0
No files found.
playbooks/secure_example/vars/edxapp_sandbox.yml
0 → 100644
View file @
a858230a
###############################################
# Sandbox configuration
#
# There should be nothing in this configuration
# that would be a problem if made public !!
#
# Configuration overview:
# - mysql installed on localhost
# - mongo installed on localhost
# - memcache installed on localhost
# - SES used for email (ses only perms)
#
# You must fill in credentials for sending
# mail using AWS
#Use YAML references (& and *) and hash merge <<: to factor out shared settings
#see http://atechie.net/2009/07/merging-hashes-in-yaml-conf-files/
generic_auth_config
:
&generic_auth
'
CONTENTSTORE'
:
'
ENGINE'
:
'
xmodule.contentstore.mongo.MongoContentStore'
'
ANALYTICS_API_KEY'
:
'
'
'
ZENDESK_USER'
:
'
'
'
ZENDESK_API_KEY'
:
'
'
'
CELERY_BROKER_USER'
:
'
celery'
'
CELERY_BROKER_PASSWORD'
:
'
'
# "ses-send" user on the main aws account, only
# has access to use ses
'
AWS_ACCESS_KEY_ID'
:
'
'
'
AWS_SECRET_ACCESS_KEY'
:
'
'
'
CONTENTSTORE'
:
'
OPTIONS'
:
'
db'
:
'
wwc'
'
host'
:
[
'
localhost'
]
'
password'
:
'
password'
'
port'
:
27017
'
user'
:
'
mongo'
'
DATABASES'
:
'
default'
:
{
'
ENGINE'
:
'
django.db.backends.mysql'
,
'
NAME'
:
'
wwc'
,
'
USER'
:
'
root'
,
'
PASSWORD'
:
'
'
,
'
HOST'
:
'
localhost'
,
'
PORT'
:
'
3306'
}
'
MODULESTORE'
:
'
default'
:
'
ENGINE'
:
'
xmodule.modulestore.mongo.MongoModuleStore'
'
OPTIONS'
:
&lms_modulestore_default_options
'
collection'
:
'
modulestore'
'
db'
:
'
wwc'
'
default_class'
:
'
xmodule.hidden_module.HiddenDescriptor'
'
fs_root'
:
'
/opt/wwc/data'
'
host'
:
[
'
localhost'
]
'
password'
:
'
password'
'
port'
:
27017
'
render_template'
:
'
mitxmako.shortcuts.render_to_string'
'
user'
:
'
mongo'
# Needed for the CMS to be able to run update_templates
'
direct'
:
'
ENGINE'
:
'
xmodule.modulestore.mongo.MongoModuleStore'
'
OPTIONS'
:
*lms_modulestore_default_options
'
OPEN_ENDED_GRADING_INTERFACE'
:
{
'
url'
:
'
'
,
'
password'
:
'
'
,
'
peer_grading'
:
'
peer_grading'
,
'
staff_grading'
:
'
staff_grading'
,
'
grading_controller'
:
'
grading_controller'
,
'
username'
:
'
lms'
}
'
PEARSON_TEST_PASSWORD'
:
'
'
'
SECRET_KEY'
:
'
secret'
'
XQUEUE_INTERFACE'
:
'
basic_auth'
:
[
'
noauth'
,
'
noauth'
]
'
django_auth'
:
{
'
password'
:
'
lms'
,
'
username'
:
'
lms'
}
'
url'
:
'
'
generic_env_config
:
&generic_env
'
BOOK_URL'
:
'
https://mitxstatic.s3.amazonaws.com/book_images/'
'
CERT_QUEUE'
:
'
certificates'
'
LOCAL_LOGLEVEL'
:
'
INFO'
'
MITX_FEATURES'
:
'
AUTH_USE_OPENID_PROVIDER'
:
true
'
CERTIFICATES_ENABLED'
:
true
'
ENABLE_DISCUSSION_SERVICE'
:
false
'
ENABLE_INSTRUCTOR_ANALYTICS'
:
false
'
ENABLE_PEARSON_HACK_TEST'
:
false
'
SUBDOMAIN_BRANDING'
:
false
'
SUBDOMAIN_COURSE_LISTINGS'
:
false
'
WIKI_ENABLED'
:
true
'
SYSLOG_SERVER'
:
'
syslog.a.m.i4x.org'
'
SITE_NAME'
:
'
example.com'
'
LOG_DIR'
:
'
/mnt/logs/edx'
'
MEDIA_URL'
:
'
'
'
ANALYTICS_SERVER_URL'
:
'
'
'
EEDBACK_SUBMISSION_EMAIL'
:
'
bugs@edx.org'
'
TIME_ZONE'
:
'
America/New_York'
'
CACHES'
:
&lms_caches
'
default'
:
'
BACKEND'
:
'
django.core.cache.backends.memcached.MemcachedCache'
'
KEY_FUNCTION'
:
'
util.memcache.safe_key'
'
KEY_PREFIX'
:
'
sandbox'
'
LOCATION'
:
[
'
localhost:11211'
]
'
general'
:
'
BACKEND'
:
'
django.core.cache.backends.memcached.MemcachedCache'
'
KEY_FUNCTION'
:
'
util.memcache.safe_key'
'
KEY_PREFIX'
:
'
sandbox'
'
LOCATION'
:
[
'
localhost:11211'
]
'
mongo_metadata_inheritance'
:
'
BACKEND'
:
'
django.core.cache.backends.memcached.MemcachedCache'
'
KEY_FUNCTION'
:
'
util.memcache.safe_key'
'
KEY_PREFIX'
:
'
sandbox'
'
LOCATION'
:
[
'
localhost:11211'
]
'
staticfiles'
:
'
BACKEND'
:
'
django.core.cache.backends.memcached.MemcachedCache'
'
KEY_FUNCTION'
:
'
util.memcache.safe_key'
'
KEY_PREFIX'
:
'
sandbox'
'
LOCATION'
:
[
'
localhost:11211'
]
'
celery'
:
'
BACKEND'
:
'
django.core.cache.backends.memcached.MemcachedCache'
'
KEY_FUNCTION'
:
'
util.memcache.safe_key'
'
KEY_PREFIX'
:
'
sandbox'
'
LOCATION'
:
[
'
localhost:11211'
]
'
CELERY_BROKER_TRANSPORT'
:
'
amqp'
'
CELERY_BROKER_HOSTNAME'
:
'
'
'
COMMENTS_SERVICE_URL'
:
'
'
'
LOGGING_ENV'
:
'
sandbox'
'
SESSION_COOKIE_DOMAIN'
:
'
amazonaws.com'
'
COMMENTS_SERVICE_KEY'
:
'
'
lms_auth_config
:
<<
:
*generic_auth
lms_env_config
:
<<
:
*generic_env
lms_xml_auth_config
:
<<
:
*generic_auth
lms_xml_env_config
:
<<
:
*generic_env
cms_auth_config
:
<<
:
*generic_auth
cms_env_config
:
<<
:
*generic_env
lms_preview_auth_config
:
<<
:
*generic_auth
lms_preview_env_config
:
<<
:
*generic_env
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