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
c2e8379d
Commit
c2e8379d
authored
Dec 15, 2017
by
Jillian Vogel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Defaults EDXAPP_MONGO_HOSTS to a comma-separated string list
parent
6aef3d79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
CHANGELOG.md
+0
-2
playbooks/roles/edxapp/defaults/main.yml
+2
-3
No files found.
CHANGELOG.md
View file @
c2e8379d
...
...
@@ -12,8 +12,6 @@
-
Added
`EDXAPP_MONGO_REPLICA_SET`
, which is required to use
pymongo.MongoReplicaSetClient in PyMongo 2.9.1. This should be set to the
name of your replica set.
Note that setting
`EDXAPP_MONGO_REPLICA_SET`
requires
`EDXAPP_MONGO_HOSTS`
to be a comma-delimited string listing the host names, not an array.
This setting causes the
`EDXAPP_*_READ_PREFERENCE`
settings below to be used.
-
Added
`EDXAPP_MONGO_CMS_READ_PREFERENCE`
with a default value of
`PRIMARY`
.
-
Added
`EDXAPP_MONGO_LMS_READ_PREFERENCE`
with a default value of
...
...
playbooks/roles/edxapp/defaults/main.yml
View file @
c2e8379d
...
...
@@ -65,9 +65,8 @@ EDXAPP_XQUEUE_DJANGO_AUTH:
password
:
'
password'
EDXAPP_XQUEUE_URL
:
'
http://localhost:18040'
# EDXAPP_MONGO_HOSTS must be a comma seperated list of hosts/ips for
# compatibility with pymongo.MongoReplicaSetClient in PyMongo 2.9.1
EDXAPP_MONGO_HOSTS
:
[
'
localhost'
]
# Comma-separated list of hosts/ips
EDXAPP_MONGO_HOSTS
:
'
localhost'
EDXAPP_MONGO_PASSWORD
:
'
password'
EDXAPP_MONGO_PORT
:
27017
EDXAPP_MONGO_USER
:
'
edxapp'
...
...
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