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
6d244f01
Commit
6d244f01
authored
Feb 02, 2016
by
Fred Smith
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2747 from edx/derf/discovery_gunicorn_sync_workers
discovery play fixes
parents
493afb5b
2118aaf2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
playbooks/roles/discovery/defaults/main.yml
+4
-2
playbooks/roles/discovery/templates/edx/app/discovery/discovery.sh.j2
+1
-1
No files found.
playbooks/roles/discovery/defaults/main.yml
View file @
6d244f01
...
...
@@ -72,7 +72,8 @@ DISCOVERY_SOCIAL_AUTH_REDIRECT_IS_HTTPS: false
DISCOVERY_PLATFORM_NAME
:
'
Your
Platform
Name
Here'
DISCOVERY_ECOMMERCE_API_URL
:
'
https://replace-me/'
DISCOVERY_ECOMMERCE_API_URL
:
'
https://localhost:8002/api/v2/'
DISCOVERY_COURSES_API_URL
:
'
https://localhost:8000/api/courses/v1/'
DISCOVERY_SERVICE_CONFIG
:
SECRET_KEY
:
'
{{
DISCOVERY_SECRET_KEY
}}'
...
...
@@ -96,6 +97,7 @@ DISCOVERY_SERVICE_CONFIG:
PLATFORM_NAME
:
'
{{
DISCOVERY_PLATFORM_NAME
}}'
ECOMMERCE_API_URL
:
'
{{
DISCOVERY_ECOMMERCE_API_URL
}}'
COURSES_API_URL
:
'
{{
DISCOVERY_COURSES_API_URL
}}'
DISCOVERY_REPOS
:
...
...
@@ -111,7 +113,7 @@ DISCOVERY_REPOS:
DISCOVERY_GUNICORN_WORKERS
:
"
2"
DISCOVERY_GUNICORN_EXTRA
:
"
"
DISCOVERY_GUNICORN_EXTRA_CONF
:
"
"
DISCOVERY_GUNICORN_WORKER_CLASS
:
"
gevent
"
DISCOVERY_GUNICORN_WORKER_CLASS
:
"
sync
"
DISCOVERY_HOSTNAME
:
'
~^((stage|prod)-)?discovery.*'
...
...
playbooks/roles/discovery/templates/edx/app/discovery/discovery.sh.j2
View file @
6d244f01
...
...
@@ -15,4 +15,4 @@ export NEW_RELIC_LICENSE_KEY="{{ NEWRELIC_LICENSE_KEY }}"
{
% endif -%
}
source
{{
discovery_home
}}
/discovery_env
{{
executable
}}
-c
{{
discovery_home
}}
/discovery_gunicorn.py
{{
DISCOVERY_GUNICORN_EXTRA
}}
discovery.wsgi:application
{{
executable
}}
-c
{{
discovery_home
}}
/discovery_gunicorn.py
{{
DISCOVERY_GUNICORN_EXTRA
}}
course_
discovery.wsgi:application
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