github.com/dnephin/dobi@v0.15.0/examples/init-db-with-rails/README.md (about)

     1  
     2  # Example - Initialize an application database
     3  
     4  A common problem encountered while using rails (and many other web frameworks)
     5  with Docker Compose is initializing the database. The database tables and fixture
     6  data is stored as "models" in the application code.
     7  
     8  This example shows how `dobi` can be used to create a database image for a rails
     9  application, and how to use the image with Docker Compose.
    10  
    11  To run the example:
    12  
    13      dobi dev
    14  
    15  
    16  This will create the app and database images, and start a Docker Compose dev
    17  environment using the images.