
Rails on Containers
by Kathleen Juell · Programming
About this book
This book is designed to introduce you to using containers and Kubernetes for full-stack development. You'll learn how to develop a full-stack application using Ruby on Rails and PostgreSQL with Sidekiq, and how to manage them all - first with Docker, then with Docker Compose, and finally with Kubernetes.The topics that it covers include how to:- Get started developing an application about sharks using the Ruby on Rails framework;- Extend the application's data model to incorporate user submitted information about sharks;- Add the Stimulus JavaScript and Bootstrap CSS frameworks to your application to create visually appealing, interactive pages;- Integrate Sidekiq into your application to handle asynchronous data processing;- Containerize your application and streamline your development workflow using Docker Compose;- Migrate your Docker Compose development workflow to Kubernetes, finishing with a completely cloud-native application.Each chapter is is designed to build progressively from the first. However, if you're familiar with a topic, or are more interested in a particular section, feel free to jump to the chapter that best suits your purpose. This book is available under a Creative Commons Attribution-NonCommercial-ShareAlike license (CC BY-NC-SA), which means that you are free to copy, distribute, and modify it, as long as you credit the original author, don't use it for commercial purposes, and share any adaptations under the same license. If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.
Key Insights
- Master the evolution of deployment by transitioning a monolithic Ruby on Rails application from local development to a fully containerized, cloud-native Kubernetes environment.
- Optimize application performance and scalability by integrating Sidekiq for asynchronous background processing while managing multi-service dependencies with Docker Compose.
- Bridge the gap between frontend aesthetics and backend reliability by incorporating Bootstrap, Stimulus JS, and PostgreSQL into a unified, containerized workflow.
Related Books
Sign in to leave a review and earn XP
Create AccountCommunity Reviews
No reviews yet. Be the first to review this book!



