From Zero to Elixir Deployment
summary
Shows how to build a self-contained Elixir release (example: a tiny clock app) using Distillery releases, package it into a Docker image with a multi-stage Dockerfile, and run it with docker-compose on a VPS. Demonstrates runtime config via Distillery configuration providers, creates custom commands for DB migrations, and explains that hot upgrades work with releases but not when deploying immutable Docker containers. Claims atomic deployments reduce provider lock‑in; a previous PaaS move caused ~36 hours downtime.
AI-written summary · about
chapters (4)
- 0:00Start
- 9:54The Clock App OTP Application
- 22:08Release Configuration Custom Commands
- 23:59Application Configuration Configuration Providers
related talks
44mThe future of Deployment in Elixir
37mDeploying Elixir
33mPanel: Deployment
07mLightning Talk: How Docker Can Change Rails Deployments
29mPackaging and Shipping Rails Applications in Docker
34mUsing Distillery: Understanding OTP releases
36mDockerization in the land of Ruby
01h 04mPreparing your Dockerised Application for Production
