Skip to content

withassociates/otto-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB application for Otto

Usage

Add as a dependency in your Appfile:

application {
    name = "example-app"

    dependency {
        source = "github.com/withassociates/otto-mongodb"
    }
}

Configure Rails app to use the containerized DB:

# config/mongoid.yml

development:
  sessions:
    default:
      database: example_db
      hosts:
        - mongodb.service.consul:27017

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published