Using Distillery: Understanding OTP releases
summary
Distillery produces a compiled OTP release that bundles the exact Erlang/Elixir runtime (include_erts), so deployments run the same binary across architectures. Compilation turns top‑level config system calls into constants unless replace_os_vars is used; that behavior surprises many. Config providers (example: TOML-based provider) let releases read non‑string types at startup. Releases use VM args, can symlink sources in dev mode, and support custom commands for tasks like running migrations; hot upgrades are explicitly not covered.
AI-written summary · about
chapters (8)
- 0:00Start
- 1:29Background about the Otp Release
- 4:44Default Release and Default Environment
- 6:14Include Erlang Runtimes
- 9:41Dev Mode
- 19:01Dynamic Configuration
- 19:17Configuration Providers
- 22:40Custom Commands








