Commit 8e41d39b by jimabramson

configure mongodb instances by uri

parent 7299378c
...@@ -11,20 +11,10 @@ test: ...@@ -11,20 +11,10 @@ test:
hosts: hosts:
- localhost:27017 - localhost:27017
#production:
# sessions:
# default:
# uri: <%= ENV['MONGOHQ_URL'] %>
production: production:
sessions: sessions:
default: default:
hosts: uri: <%= ENV['MONGOHQ_URL'] %>
- hurley.member0.mongohq.com:10000
- hurley.member1.mongohq.com:10000
username: <%= ENV['MONGOHQ_USER'] %>
password: <%= ENV['MONGOHQ_PASS'] %>
database: app6929933
options: options:
skip_version_check: true skip_version_check: true
safe: true safe: true
...@@ -33,11 +23,7 @@ production: ...@@ -33,11 +23,7 @@ production:
edgeprod: edgeprod:
sessions: sessions:
default: default:
hosts: uri: <%= ENV['MONGOHQ_URL'] %>
- sayid.member1.mongohq.com:10001
username: <%= ENV['MONGOHQ_USER'] %>
password: <%= ENV['MONGOHQ_PASS'] %>
database: app10640640
options: options:
skip_version_check: true skip_version_check: true
safe: true safe: true
...@@ -46,11 +32,7 @@ edgeprod: ...@@ -46,11 +32,7 @@ edgeprod:
edgestage: edgestage:
sessions: sessions:
default: default:
hosts: uri: <%= ENV['MONGOHQ_URL'] %>
- vincent.mongohq.com:10001
username: <%= ENV['MONGOHQ_USER'] %>
password: <%= ENV['MONGOHQ_PASS'] %>
database: app10640673
options: options:
skip_version_check: true skip_version_check: true
safe: true safe: true
......
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