garrison
Deploying a Phoenix App with Podman and systemd
Hi all, the time has finally come to bring back the blog ![]()
I recently got sick of building Erlang from source and switched to building and running containers with Podman and systemd, so I thought I’d write a minimal guide on how to deploy that way. The Phoenix guides are pretty focused on PaaS so I hope this can serve as a helpful alternative!
Most Liked
garrison
Well, technically I think they are somehow compiled into actual systemd units. Podman introduces additional syntax (e.g. [Container] and so on). I have no deep understanding of the mechanism by which this happens, but my experience learning about containers thus far tells me that if I did understand it I would probably be horrified. Maybe ignorance is bliss.
The abstraction does leak a bit, though.
It’s a reference to the megacorporation in Deltron 3030 ![]()
arcanemachine
Nice post. Very thorough, and covers everything I was expecting.
Totally agree with you on the Quadlet naming convention. They’re just systemd unit files?! I hadn’t touched those, but I thought they were a whole other thing.
How did you come up with the name “corporate.fm” for your website?
Last Post!
garrison
Update: I could not resist acquiring the forbidden knowledge and now I can feel the bliss melting away…
Popular in Blog Posts
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









