Created
March 15, 2012 21:28
-
-
Save pimpin/2047095 to your computer and use it in GitHub Desktop.
Le bon fichier
This file contains hidden or 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 | |
host: localhost | |
port: 27017 | |
# slaves: | |
# - host: slave1.local | |
# port: 27018 | |
# - host: slave2.local | |
# port: 27019 | |
development: | |
<<: *defaults | |
database: nraf_dev | |
test: | |
<<: *defaults | |
database: nraf_test | |
# set these environment variables on your prod server | |
production: | |
# <<: *defaults | |
# database: locomotive_prod | |
# other settings for production | |
# host: <%= ENV['MONGOID_HOST'] %> | |
# port: <%= ENV['MONGOID_PORT'] %> | |
# username: <%= ENV['MONGOID_USERNAME'] %> | |
# password: <%= ENV['MONGOID_PASSWORD'] %> | |
# database: <%= ENV['MONGOID_DATABASE'] %> | |
# heroku | |
uri: <%= ENV['MONGOHQ_URL'] %> | |
# bushido (mongohq_url will also work) | |
# uri: <%= ENV['MONGODB_URL'] %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment