Disclaimers: This is not an article about how Dockerize a Rails App for development, but how to Dockerize an app in a production environment ready to deploy. Ideally, this part should be delegated to the CI.
There are plenty of examples of how Dockerize an App in development mode and often with docker-compose. That is great but it doesn’t help when it comes to host and deploy our containers in production.
How to survive to a legacy monolithic Ruby on Rails application with the help of Rails Engines. As a disclosure, this article is not about extracting modules from the host app to a Rails Engine but using the power of a Rails Engine to let you rethink and rewrite a codebase which needs to be.
If you have ever be confronted to a Rails project it scares you because the codebase is so messy you are not confident to touch anything at all, even understand what is going on in some part of the code because 80% of the code…
Passionate Software Engineer