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
73dd6a2c
Commit
73dd6a2c
authored
Nov 18, 2016
by
Jillian Vogel
Committed by
GitHub
Nov 18, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3465 from open-craft/jill/forum_api_key
Sets FORUM_API_KEY to EDXAPP_COMMENTS_SERVICE_KEY if available
parents
15713e73
b737cb8b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
playbooks/roles/edxapp/defaults/main.yml
+1
-0
playbooks/roles/forum/defaults/main.yml
+1
-0
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
73dd6a2c
...
...
@@ -117,6 +117,7 @@ EDXAPP_LOG_LEVEL: 'INFO'
EDXAPP_MEMCACHE
:
[
'
localhost:11211'
]
EDXAPP_CACHE_COURSE_STRUCTURE_MEMCACHE
:
"
{{
EDXAPP_MEMCACHE
}}"
EDXAPP_COMMENTS_SERVICE_URL
:
'
http://localhost:18080'
# EDXAPP_COMMENTS_SERVICE_KEY must match FORUM_API_KEY
EDXAPP_COMMENTS_SERVICE_KEY
:
'
password'
EDXAPP_EDXAPP_SECRET_KEY
:
"
DUMMY
KEY
CHANGE
BEFORE
GOING
TO
PRODUCTION"
...
...
playbooks/roles/forum/defaults/main.yml
View file @
73dd6a2c
...
...
@@ -24,6 +24,7 @@ FORUM_MONGO_URL: "mongodb://{{ FORUM_MONGO_USER }}:{{ FORUM_MONGO_PASSWORD }}@{%
FORUM_SINATRA_ENV
:
"
development"
FORUM_RACK_ENV
:
"
development"
FORUM_NGINX_PORT
:
"
18080"
# FORUM_API_KEY must match EDXAPP_COMMENTS_SERVICE_KEY
FORUM_API_KEY
:
"
password"
FORUM_ELASTICSEARCH_HOST
:
"
localhost"
FORUM_ELASTICSEARCH_PORT
:
"
9200"
...
...
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