Commit 3ecbdbc5 by Feanil Patel

Be able to override the mongo bind ip.

parent 63f45026
mongo_logappend: true mongo_logappend: true
mongo_version: 2.4.7 mongo_version: 2.4.7
mongo_bind_ip: 127.0.0.1
mongo_port: "27017" mongo_port: "27017"
mongo_extra_conf: '' mongo_extra_conf: ''
mongo_key_file: '/etc/mongodb_key' mongo_key_file: '/etc/mongodb_key'
...@@ -21,6 +20,7 @@ MONGO_USERS: ...@@ -21,6 +20,7 @@ MONGO_USERS:
database: edxapp database: edxapp
MONGO_CLUSTERED: !!null MONGO_CLUSTERED: !!null
MONGO_BIND_IP: 127.0.0.1
## ##
......
...@@ -13,7 +13,7 @@ logappend={{ mongo_logappend }} ...@@ -13,7 +13,7 @@ logappend={{ mongo_logappend }}
otherwise only to the specified local ip. otherwise only to the specified local ip.
#} #}
{% if mongo_clustered is not defined %} {% if mongo_clustered is not defined %}
bind_ip = {{ mongo_bind_ip }} bind_ip = {{ MONGO_BIND_IP }}
{% endif %} {% endif %}
port = {{ mongo_port }} port = {{ mongo_port }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment