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
000af8ca
Commit
000af8ca
authored
Mar 25, 2016
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2889 from edx/clintonb/discovery-update
Added settings for edx-drf-extensions to discovery role
parents
a6dac0e1
0c2c2830
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
playbooks/roles/discovery/defaults/main.yml
+5
-3
No files found.
playbooks/roles/discovery/defaults/main.yml
View file @
000af8ca
...
...
@@ -56,7 +56,9 @@ DISCOVERY_VERSION: "master"
DISCOVERY_DJANGO_SETTINGS_MODULE
:
"
course_discovery.settings.production"
DISCOVERY_URL_ROOT
:
'
http://discovery:18381'
DISCOVERY_OAUTH_URL_ROOT
:
'
{{
EDXAPP_LMS_ISSUER
|
default("http://127.0.0.1:8000/oauth2")
}}'
DISCOVERY_OAUTH2_ACCESS_TOKEN_URL
:
'
{{
DISCOVERY_OAUTH_URL_ROOT
}}/access_token'
DISCOVERY_EDX_DRF_EXTENSIONS
:
OAUTH2_USER_INFO_URL
:
'
{{
DISCOVERY_OAUTH_URL_ROOT
}}/user_info'
DISCOVERY_SECRET_KEY
:
'
Your
secret
key
here'
DISCOVERY_TIME_ZONE
:
'
UTC'
...
...
@@ -83,8 +85,6 @@ DISCOVERY_SERVICE_CONFIG:
SOCIAL_AUTH_EDX_OIDC_URL_ROOT
:
'
{{
DISCOVERY_OAUTH_URL_ROOT
}}'
SOCIAL_AUTH_REDIRECT_IS_HTTPS
:
'
{{
DISCOVERY_SOCIAL_AUTH_REDIRECT_IS_HTTPS
}}'
OAUTH2_ACCESS_TOKEN_URL
:
'
{{
DISCOVERY_OAUTH2_ACCESS_TOKEN_URL
}}'
STATIC_ROOT
:
"
{{
COMMON_DATA_DIR
}}/{{
discovery_service_name
}}/staticfiles"
# db config
DATABASE_OPTIONS
:
...
...
@@ -98,6 +98,8 @@ DISCOVERY_SERVICE_CONFIG:
ECOMMERCE_API_URL
:
'
{{
DISCOVERY_ECOMMERCE_API_URL
}}'
COURSES_API_URL
:
'
{{
DISCOVERY_COURSES_API_URL
}}'
EDX_DRF_EXTENSIONS
:
'
{{
DISCOVERY_EDX_DRF_EXTENSIONS
}}'
DISCOVERY_REPOS
:
-
PROTOCOL
:
"
{{
COMMON_GIT_PROTOCOL
}}"
...
...
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