mrkurt
Hello! I run a cloud company, we want to build the best possible Phoenix deployment experience. The goal is a CLI based launch command that takes a Phoenix app directory, sets the right configuration secrets on our service (SECRET_KEY_BASE and DATABASE_URL, so far) and then builds + deploys the app as quickly as possible.
For Ruby and Rails, we just use the default Heroku builder. It works very well.
The available Phoenix buildpacks are very slow and incredibly brittle. We can’t really use those, we need a better option.
How do you all package your apps for deployment today? Specifically:
- Do you use mix release?
- Do you have a Dockerfile?
- Do you run a CI system, and which one?
Thank you for the help!
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
Hey there,
It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Quite interesting article Google brought me. Didn’t find any mentions about it here.
What do you think in general? Would you use togethe...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Hi there! :wave:
@frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
pmangalakader
How do you all package your apps for deployment today? Specifically:
Yes, mix release is the inbuilt and easier way to distribute elixir applications. I have used distillery and edeliver also for deployments. There are multiple Elixir PAAS vendors for elixir deployments to try if you want to.
Yes, Dockerfile based containerization is easier to be embedded into development or deployment.
I have used Pipelines, Github Actions, AWS or GCP based Pipelines and also Gitlab runner.
To answer briefly, it’s a mixture of all the three for most of the deployments, based on the Client’s convenience factors and productivity factors.
amnu3387
lud
I use this Gitlab CI
And this Dockerfile
(Those are old versions I have on this computer).
I have a JavaScript build too but currently I just commit the build result. I should add a node docker image for that too.
I should also add a
mix testrun too.crova
1- Mix release
2- Nope
3- Only started using Sasa’s ci/cd library recently but nothing else.
mrkurt
When you use
mix releasebut don’t package it with Docker, are you bundling everything up into a zip/tarball and deploying that? Or some other package format?crova
Not really, I just rsync everything.
But that only works because I don’t have to worry about the OS on the host.
I reckon the most common solution is indeed a docker container, maybe others will mention a different package format but I’m not aware of a spread solution other than docker.
mrkurt
We actually want to support something rsync-y too. I’m very interested in creating a hot code reload process.
Once we have the first deploy for a given app done, it should be pretty straightforward to just push the release files.
crova
On the subject of hot code reload, there might be useful information for you on the erlang docs.
Any type of support for something rsync-y sounds like a good idea to me.
derek-zhou
I run releases in production but
git pullin the prod machine andmix releaseright there. my dev machine and prod machine are not exactly the same so I don’t want to mess with system libraries.axelson
I usually use GitHub - HashNuke/heroku-buildpack-elixir: Heroku Buildpack for Elixir with nitro boost · GitHub to deploy via Heroku
Not typically.
Nope, I try to avoid docker as much as possible.
I typically use CircleCI or GitHub Actions (although GitHub actions has only been on side projects)