Dockerizing a Ruby on Rails Application
Dockerizing a Ruby on Rails Application In this tutorial, you will learn how to dockerize a Ruby on Rails application. The application we’re going to build will make use of PostgreSQL, Redis, and Sidekiq. We’ll also be using Unicorn and Nginx in both development and production. If you would prefer to use Puma or something else, this shouldn’t be an issue. After reading this article: You will have a basic idea of what Docker is. How Docker can help you to streamline development. How you can use Continuous Integration and Delivery (CI/CD) to build and test your Ruby projects. You can find the complete code for this tutorial in this repository . What is Docker? Docker allows you to package up an application or service with all of its dependencies into a standardized unit. This unit is typically labeled as a Docker image. Everything the application needs to run is included. The Docker image contains the code, runtime, system libraries and anything else you wou...