Skip to content

Instantly share code, notes, and snippets.

@pimpin
Created March 15, 2012 21:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pimpin/2047095 to your computer and use it in GitHub Desktop.
Save pimpin/2047095 to your computer and use it in GitHub Desktop.
Le bon fichier
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