Rails app deployment with Docker in production using Capistrano

Опубликовано: 19 Март 2026
на канале: Winston Codes On
2,424
79

Check out the full source code by supporting me on Patreon!
  / winstonkotzan  

Tip me in BTC! Bitcoin Address: 13FKUusPH1UPvgSkoQRRy6hEg4hyMqKzLS

0:00 Capistrano vs Mina and other Rails deployment tools
1:26 Capistrano base setup
2:02 Rails deployment stratgies for Docker
4:19 Capistrano configuration
5:54 Capistrano custom tasks
6:58 Capistrano folder structure and symlinks
8:30 docker-compose.override.yml and docker-compose.production.yml
9:26 Tasks to build Docker image and container on server
10:35 Docker engine bug breaks the server
11:28 Docker error related to external volumes and networks
11:51 Capistrano release folders cause Docker naming conflict
13:02 Rails environment bug caused by dotenv gem
13:37 Rails secret needs to be configured
13:57 Rails asset pipeline compilation task
14:54 Ruminations on Capistrano's relevance with Docker

B-roll Footage:
Docker Minecraft:    • Dockercraft - Minecraft Docker client  
Docker for .NET Developers / Dockercon 2017 -    • Docker for .NET Developers  
Man destroys computer -    • Man destroys computer  
Man loses temper with printer -    • Man Loses Temper with Printer  

Resources:
https://infinum.com/the-capsized-eigh...
https://stackoverflow.com/questions/3...

Outtro Music:
CO.AG - Escape the Apex
   • Escape the Apex -  Futuristic Sci-fi Elect...