This is a guideline for how to dockerize your Rails application with Puma and NGINX from your application’s git link.
What this tutorial is trying to achieve is creating two seperate container -one for your app and another for its database-. The diagram below explains the interaction between them.
I created a Docker image builder repo which helps you to build your application’s own docker image. Just follow the steps below:
Nemo vir est qui mundum non reddat meliorem