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
3b937908
Commit
3b937908
authored
8 years ago
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2933 from edx/clintonb/lms-root-url
Added EDXAPP_LMS_ROOT_URL variable
parents
4a5f1d40
941a2870
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
playbooks/roles/discovery/defaults/main.yml
+4
-1
playbooks/roles/edxapp/defaults/main.yml
+2
-1
No files found.
playbooks/roles/discovery/defaults/main.yml
View file @
3b937908
...
...
@@ -71,8 +71,10 @@ DISCOVERY_SOCIAL_AUTH_REDIRECT_IS_HTTPS: false
DISCOVERY_PLATFORM_NAME
:
'
Your
Platform
Name
Here'
DISCOVERY_LMS_ROOT_URL
:
'
{{
EDXAPP_LMS_ROOT_URL
|
default("http://127.0.0.1:8000")
}}'
DISCOVERY_ECOMMERCE_API_URL
:
'
https://localhost:8002/api/v2/'
DISCOVERY_COURSES_API_URL
:
'
https://localhost:8000/api/courses/v1/'
DISCOVERY_COURSES_API_URL
:
'
{{
DISCOVERY_LMS_ROOT_URL
}}/api/courses/v1/'
DISCOVERY_ORGANIZATIONS_API_URL
:
'
{{
DISCOVERY_LMS_ROOT_URL
}}/api/organizations/v0/'
DISCOVERY_MARKETING_API_URL
:
'
https://example.org/api/catalog/v2/'
DISCOVERY_MARKETING_URL_ROOT
:
'
https://example.org/'
...
...
@@ -99,6 +101,7 @@ DISCOVERY_SERVICE_CONFIG:
ECOMMERCE_API_URL
:
'
{{
DISCOVERY_ECOMMERCE_API_URL
}}'
COURSES_API_URL
:
'
{{
DISCOVERY_COURSES_API_URL
}}'
ORGANIZATIONS_API_URL
:
'
{{
DISCOVERY_ORGANIZATIONS_API_URL
}}'
MARKETING_API_URL
:
'
{{
DISCOVERY_MARKETING_API_URL
}}'
MARKETING_URL_ROOT
:
'
{{
DISCOVERY_MARKETING_URL_ROOT
}}'
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/edxapp/defaults/main.yml
View file @
3b937908
...
...
@@ -248,7 +248,8 @@ EDXAPP_BULK_EMAIL_DEFAULT_FROM_EMAIL: 'no-reply@example.com'
EDXAPP_BULK_EMAIL_LOG_SENT_EMAILS
:
false
EDXAPP_UNIVERSITY_EMAIL
:
'
university@example.com'
EDXAPP_PRESS_EMAIL
:
'
press@example.com'
EDXAPP_LMS_ISSUER
:
"
{{
EDXAPP_LMS_BASE_SCHEME
|
default('https')
}}://{{
EDXAPP_LMS_BASE
}}/oauth2"
EDXAPP_LMS_ROOT_URL
:
"
{{
EDXAPP_LMS_BASE_SCHEME
|
default('https')
}}://{{
EDXAPP_LMS_BASE
}}"
EDXAPP_LMS_ISSUER
:
"
{{
EDXAPP_LMS_ROOT_URL
}}/oauth2"
EDXAPP_JWT_EXPIRATION
:
30
# Number of seconds until expiration
EDXAPP_JWT_AUDIENCE
:
"
lms-key"
EDXAPP_JWT_SECRET_KEY
:
"
lms-secret"
...
...
This diff is collapsed.
Click to expand it.
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