Skip to content

Commit

Permalink
update mongo conf
Browse files Browse the repository at this point in the history
  • Loading branch information
pehrlich committed Oct 16, 2011
1 parent 38392a6 commit e14def4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions config/mongoid.yml
Expand Up @@ -7,12 +7,14 @@ test:
database: karaoke_test

# set these environment variables on your prod server
#production:
# host: <%= ENV['MONGOID_HOST'] %>
# port: <%= ENV['MONGOID_PORT'] %>
# username: <%= ENV['MONGOID_USERNAME'] %>
# password: <%= ENV['MONGOID_PASSWORD'] %>
# database: <%= ENV['MONGOID_DATABASE'] %>
production:
host: <%= ENV['MONGOID_HOST'] %>
port: <%= ENV['MONGOID_PORT'] %>
username: <%= ENV['MONGOID_USERNAME'] %>
password: <%= ENV['MONGOID_PASSWORD'] %>
database: <%= ENV['MONGOID_DATABASE'] %>
uri: <%= ENV['MONGOHQ_URL'] %>
# slaves:
# - host: slave1.local
# port: 27018
Expand Down

0 comments on commit e14def4

Please sign in to comment.