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
2759e19f
Commit
2759e19f
authored
May 15, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1944 from gsehub/mongo-ssl
Add ability to use SSL for mongo connections.
parents
0e0a0043
92181c38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
playbooks/roles/edxapp/defaults/main.yml
+3
-0
playbooks/roles/forum/defaults/main.yml
+2
-0
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
2759e19f
...
...
@@ -53,6 +53,7 @@ EDXAPP_MONGO_PASSWORD: 'password'
EDXAPP_MONGO_PORT
:
27017
EDXAPP_MONGO_USER
:
'
edxapp'
EDXAPP_MONGO_DB_NAME
:
'
edxapp'
EDXAPP_MONGO_USE_SSL
:
False
EDXAPP_MYSQL_DB_NAME
:
'
edxapp'
EDXAPP_MYSQL_USER
:
'
edxapp001'
...
...
@@ -579,6 +580,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
port
:
"
{{
EDXAPP_MONGO_PORT
}}"
user
:
"
{{
EDXAPP_MONGO_USER
}}"
collection
:
'
modulestore'
ssl
:
"
{{
EDXAPP_MONGO_USE_SSL
}}"
CONTENTSTORE
:
ENGINE
:
'
xmodule.contentstore.mongo.MongoContentStore'
#
...
...
@@ -591,6 +593,7 @@ edxapp_generic_auth_config: &edxapp_generic_auth
password
:
"
{{
EDXAPP_MONGO_PASSWORD
}}"
port
:
"
{{
EDXAPP_MONGO_PORT
}}"
user
:
"
{{
EDXAPP_MONGO_USER
}}"
ssl
:
"
{{
EDXAPP_MONGO_USE_SSL
}}"
ADDITIONAL_OPTIONS
:
"
{{
EDXAPP_CONTENTSTORE_ADDITIONAL_OPTS
}}"
DOC_STORE_CONFIG
:
*edxapp_generic_default_docstore
MODULESTORE
:
...
...
playbooks/roles/forum/defaults/main.yml
View file @
2759e19f
...
...
@@ -18,6 +18,7 @@ FORUM_MONGO_HOSTS:
FORUM_MONGO_TAGS
:
!!null
FORUM_MONGO_PORT
:
"
27017"
FORUM_MONGO_DATABASE
:
"
cs_comments_service"
FORUM_MONGO_USE_SSL
:
false
FORUM_MONGO_URL
:
"
mongodb://{{
FORUM_MONGO_USER
}}:{{
FORUM_MONGO_PASSWORD
}}@{%-
for
host
in
FORUM_MONGO_HOSTS
-%}{{
host
}}:{{
FORUM_MONGO_PORT
}}{%-
if
not
loop.last
-%},{%-
endif
-%}{%-
endfor
-%}/{{
FORUM_MONGO_DATABASE
}}{%-
if
FORUM_MONGO_TAGS
-%}?tags={{
FORUM_MONGO_TAGS
}}{%-
endif
-%}"
FORUM_SINATRA_ENV
:
"
development"
FORUM_RACK_ENV
:
"
development"
...
...
@@ -47,6 +48,7 @@ forum_environment:
API_KEY
:
"
{{
FORUM_API_KEY
}}"
SEARCH_SERVER
:
"
{{
FORUM_ELASTICSEARCH_URL
}}"
MONGOHQ_URL
:
"
{{
FORUM_MONGO_URL
}}"
MONGOID_USE_SSL
:
"
{{
FORUM_MONGO_USE_SSL
}}"
HOME
:
"
{{
forum_app_dir
}}"
NEW_RELIC_ENABLE
:
"
{{
FORUM_NEW_RELIC_ENABLE
}}"
NEW_RELIC_APP_NAME
:
"
{{
FORUM_NEW_RELIC_APP_NAME
}}"
...
...
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