Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx-platform
Commits
e7c0ed77
Commit
e7c0ed77
authored
Jan 23, 2017
by
Clinton Blackburn
Committed by
Clinton Blackburn
Jan 24, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added settings for Docker-based devstack
ECOM-6634
parent
ae957709
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
0 deletions
+46
-0
cms/envs/devstack_docker.py
+22
-0
lms/envs/devstack_docker.py
+24
-0
No files found.
cms/envs/devstack_docker.py
0 → 100644
View file @
e7c0ed77
""" Overrides for Docker-based devstack. """
from
.devstack
import
*
# pylint: disable=wildcard-import, unused-wildcard-import
# Docker does not support the syslog socket at /dev/log. Rely on the console.
LOGGING
[
'handlers'
][
'local'
]
=
LOGGING
[
'handlers'
][
'tracking'
]
=
{
'class'
:
'logging.NullHandler'
,
}
LOGGING
[
'loggers'
][
'tracking'
][
'handlers'
]
=
[
'console'
]
HOST
=
'edx.devstack.edxapp:18000'
SITE_NAME
=
HOST
LMS_ROOT_URL
=
'http://{}:18000'
.
format
(
HOST
)
OAUTH_OIDC_ISSUER
=
'{}/oauth2'
.
format
(
LMS_ROOT_URL
)
JWT_AUTH
.
update
({
'JWT_SECRET_KEY'
:
'lms-secret'
,
'JWT_ISSUER'
:
OAUTH_OIDC_ISSUER
,
'JWT_AUDIENCE'
:
'lms-key'
,
})
lms/envs/devstack_docker.py
0 → 100644
View file @
e7c0ed77
""" Overrides for Docker-based devstack. """
from
.devstack
import
*
# pylint: disable=wildcard-import, unused-wildcard-import
# Docker does not support the syslog socket at /dev/log. Rely on the console.
LOGGING
[
'handlers'
][
'local'
]
=
LOGGING
[
'handlers'
][
'tracking'
]
=
{
'class'
:
'logging.NullHandler'
,
}
LOGGING
[
'loggers'
][
'tracking'
][
'handlers'
]
=
[
'console'
]
HOST
=
'edx.devstack.edxapp:18000'
SITE_NAME
=
HOST
LMS_ROOT_URL
=
'http://{}:18000'
.
format
(
HOST
)
ECOMMERCE_PUBLIC_URL_ROOT
=
"http://edx.devstack.ecommerce:18130"
OAUTH_OIDC_ISSUER
=
'{}/oauth2'
.
format
(
LMS_ROOT_URL
)
JWT_AUTH
.
update
({
'JWT_SECRET_KEY'
:
'lms-secret'
,
'JWT_ISSUER'
:
OAUTH_OIDC_ISSUER
,
'JWT_AUDIENCE'
:
'lms-key'
,
})
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