defaults: &defaults host: 127.0.0.1 port: 27017 development: <<: *defaults database: apollo_development test: <<: *defaults database: apollo_test # set these environment variables on your prod server production: <<: *defaults database: apollo username: <%= ENV['MONGO_USERNAME'] %> password: <%= ENV['MONGO_PASSWORD'] %> uri: <%= ENV['MONGOLAB_URI'] %>