Merge pull request #15345 from edx/bbeggs/host_fixes

ADD LMS_BASE and CMS_BASE to devstack_docker config files
This commit is contained in:
Brian Beggs
2017-07-09 12:11:42 -04:00
committed by GitHub
2 changed files with 8 additions and 4 deletions

View File

@@ -9,7 +9,10 @@ LOGGING['handlers']['local'] = LOGGING['handlers']['tracking'] = {
LOGGING['loggers']['tracking']['handlers'] = ['console']
LMS_ROOT_URL = 'http://edx.devstack.lms:18000'
LMS_BASE = 'edx.devstack.lms:18000'
CMS_BASE = 'edx.devstack.cms:18010'
LMS_ROOT_URL = 'http://{}'.format(LMS_BASE)
FEATURES.update({
'ENABLE_COURSEWARE_INDEX': False,

View File

@@ -9,9 +9,10 @@ LOGGING['handlers']['local'] = LOGGING['handlers']['tracking'] = {
LOGGING['loggers']['tracking']['handlers'] = ['console']
HOST = 'edx.devstack.lms:18000'
SITE_NAME = HOST
LMS_ROOT_URL = 'http://{}'.format(HOST)
LMS_BASE = 'edx.devstack.lms:18000'
CMS_BASE = 'edx.devstack.cms:18010'
SITE_NAME = LMS_BASE
LMS_ROOT_URL = 'http://{}'.format(LMS_BASE)
ECOMMERCE_PUBLIC_URL_ROOT = 'http://localhost:18130'
ECOMMERCE_API_URL = 'http://edx.devstack.ecommerce:18130/api/v2'