Mini Map
Log In
Docker for Rails Developers
0%
Show Skipped Chapters
1.
Introduction
Who is this Course for?
Why Use Docker for Rails?
2.
A Brave New World
Basic Concepts — Images and Containers
Running a Ruby Script Without Ruby Installed
Generating a New Rails App Without Ruby Installed
Docker Architecture
Quick Recap
Quiz: A Brave New World
3.
Running a Rails App in a Container
How Do We Run Our Rails App?
Dockerfile Creation and Explanation
Defining Our First Custom Image
Running a Rails Server with Our Image
Quick Recap
Quiz: Running a Rails App in a Container
4.
Fine-Tuning Our Rails Image
A Default Command
.dockerignore File
The Image Build Cache
Caching Issues
Quick Recap
Quiz: Fine-Tuning Our Rails Image
5.
Describing Our App Declaratively with Docker Compose
Getting Started with Compose
Launching the Rails app
Mounting a Volume Using Compose and Sharing Images
Starting and stopping services
Other Common Tasks
Quick Recap
Quiz: Describing Our App Declaratively with Docker Compose
🍀 Challenge
6.
Beyond the App: Adding Redis
Starting a Redis Server
Making a Manual Connection to Redis Server
Learning How Containers Communicate
Our Rails App and Redis Communication
Quick Recap
Quiz: Beyond the App: Adding Redis
Assessment
Docker for Rails Developer—Exam 1
7.
Adding a Database: Postgres
Starting a Postgres Server
Connecting to Postgres from a Separate Container
Creating Our App Databases
Restarting Our Rails Server with Database
Decoupling Data From a Container
Quick Recap
Quiz: Adding a Database: Postgres
8.
Playing Nice with JavaScript
Front-End Options
Compiling Assets with Webpacker
A Hello World React App
Quick Recap
Running Tests: Configuring RSpec
Quiz: Playing Nice with JavaScript
9.
Testing in a Dockerized Environment
Ruby Testing Framework: RSpec
Our First Test using RSpec
Setting Up Rails System Tests
Running Tests: Providing Support for JavaScript
Seeing the Tests Run
Debugging
Quick Recap
Quiz: Testing in a Dockerized Environment
10.
Advanced Gem Management
The Downside to Our Existing Approach
Solution To Manage Gems Effectively
Testing The New Method Of Gem Management
Quick Recap
Quiz: Advanced Gem Management
11.
Some Minor Irritations
Rails Server not starting?
Server Not Shutting Down Gracefully
Quick Recap
Quiz: Some Minor Irritations
Closing Thoughts on Docker in Development
Assessment
Docker for Rails Developer—Exam 2
12.
The Production Landscape
The “Ops” in DevOps
Container Orchestration
A Tale of Two Orchestrators: Swarm and Kubernetes
IaaS vs. CaaS
Provisioning Your Infrastructure
CaaS Platforms
Serverless for Containers
How to Decide What’s Right for Me?
Quick Recap
Quiz: The Production Landscape
13.
Preparing for Production
Configuring a Production Environment
A Production Image
How to make Custom Image
Quick Recap
Quiz: Preparing for Production
14.
A Production-Like Playground
Production-Like Environment
Exploring the Docker Machine
Introducing Docker Swarm
Describing Our App to Swarm
Migrating the Database
Deploying Our App on a Swarm
Tasks and Swarm’s Scaling Model
Scaling Up the Service
Quick Recap
Quiz: A Production-Like Playground
Project
Premium
Deploy a Full Stack Web Application over Kubernetes
15.
Deploying to the Cloud
The Cloud: Our Final Frontier
Deploying to AWS
Visualizing Containers
Scaling Up
Cleaning Up
Deploying to DigitalOcean
Quick Recap
Quiz: Deploying to the Cloud
Assessment
Docker for Rails Developer - Exam 3
16.
Closing Thoughts and Next Steps
Reflection on Journey
What Should I Learn About Next?
What More Can I Learn?
17.
APPENDIX
Installing Docker
Platform Differences
Finding Images to Use
Docker for Rails Developers
/
...
/
Quiz: Deploying to the Cloud
Quiz: Deploying to the Cloud
Test your understanding of the chapter "Deploying to the Cloud".
We'll cover the following...
...