Created
August 15, 2011 00:39
-
-
Save jasonmccay/1145512 to your computer and use it in GitHub Desktop.
An example mongoid.yml (YAML) file to configure MongoDB replica sets with MongoHQ.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults: &defaults | |
autocreate_indexes: true | |
max_retries_on_connection_failure: 3 | |
allow_dynamic_fields: false | |
development: | |
host: localhost | |
database: taq_development | |
test: | |
host: localhost | |
database: taq_testing | |
enable_logging: false | |
production: | |
hosts: | |
- - hurley.member0.mongohq.com | |
- <port_number> | |
- - hurley.member1.mongohq.com | |
- <port_number> | |
read_secondary: true | |
username: | |
password: | |
database: | |
enable_logging: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment