shlogg · Early preview
Jetthoughts Dev @jetthoughts

Setting Up Docker For Ruby On Rails Development

Isolate test environments with Docker for consistent & repeatable tests, reducing complexity & setup time for new devs.

The main advantages of this way are to have independent environment for the tests running and to reduce the complexity of the test environment setup. Just load and run tests. Consider how to achieve this.


You will see below how you can setup the docker-compose for common Ruby on Rails application. As a bonus, you will be able to reuse those setup on all projects without much changing.

  
  
  What we want to achieve

Running the tests should be easy. New developers should be able to join the development process without much trouble setting up the test environment. And it can become relative...