Sha256: 2ff25df372b26d1fef4235bcec1f271c46d9653433d2d4390449c486e9e86526

Contents?: true

Size: 572 Bytes

Versions: 21

Compression:

Stored size: 572 Bytes

Contents

defaults: &defaults
  adapter: mongodb
  host: <%= host %>
  # slaves:
  #   - host: slave1.local
  #     port: 27018
  #   - host: slave2.local
  #     port: 27019

development:
  <<: *defaults
  database: <%= database %>_development

test:
  <<: *defaults
  database: <%= database %>_test

# set these environment variables on your prod server
production:
  <<: *defaults
  host: <%= ENV['MONGOID_HOST'] %>
  port: <%= ENV['MONGOID_PORT'] %>
  username: <%= ENV['MONGOID_USERNAME'] %>
  password: <%= ENV['MONGOID_PASSWORD'] %>
  database: <%= ENV['MONGOID_DATABASE'] %>

Version data entries

21 entries across 15 versions & 1 rubygems

Version Path
rails3-generators-0.17.6 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.17.5 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.17.4 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.17.3 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.17.2 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.17.1 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.17.0 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.16.1 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.16.0 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.15.0 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.15.0 lib/generators/mongoid/install/templates/database.mongo.yml
rails3-generators-0.14.0 lib/generators/mongoid/install/templates/database.mongo.yml
rails3-generators-0.14.0 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.13.0 lib/generators/mongoid/install/templates/database.mongo.yml
rails3-generators-0.13.0 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.12.1 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.12.1 lib/generators/mongoid/install/templates/database.mongo.yml
rails3-generators-0.12.0 lib/generators/mongoid/install/templates/database.mongo.yml
rails3-generators-0.12.0 lib/generators/mongo_mapper/install/templates/database.mongo.yml
rails3-generators-0.11.0 lib/generators/mongo_mapper/install/templates/database.mongo.yml