rocket4ce
A comprehensive guide for deploying Phoenix 1.8 applications using Coolify on Hetzner servers. Covers server setup, Coolify configuration, database creation, Phoenix app preparation with Docker, and complete deployment process including environment variable configuration. Uses a $4.99/month Hetzner server with 2 vCPUs and 2GB RAM.
https://medium.com/@rocket4ce/1-tutorial-deploy-phoenix-1-8-whit-coolify-on-hetzner-873504b9794e
Trending in Blog Posts
Hey folks,
I just published a post about Hologram’s funding and where the project goes next - the short version:
Curiosum as Main Spons...
New
Hey everyone! :waving_hand:
I’ve published Part 7 of the Building Distributed Systems in Elixir series, where we build core distributed ...
New
An educational side project in Elixir, Phoenix, and Tauri. I share what I learned while wiring Automerge into the BEAM, including how I s...
New
Process labels are useful for visualization and debugging. Here’s why you should use them.
New
What happens if you design tools for LLMs instead of letting LLM use human tools ?
Wrote a blog on why and what that enables.
As I see ...
New
Somewhere, right now, a senior engineer is on the verge of a nervous breakdown because his company will not let him switch from Claude to...
New
:pencil: Phoenix’s built-in LiveView test helpers require you to hand-build the form payload and start a fresh pipe after every click. Wo...
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
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
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
Latest Phoenix Threads
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
- #ai
- #ecto-query
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #metaprogramming
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
dogweather
I’ve been thinking about moving to Coolify from Dokku. Dokku does work, but it’s a one-man project and pretty rough around the edges.
rocket4ce
I agree, it’s a good decision.
nickdichev
Why are you considering migrating? I’ve got an app on coolify (cloud) that I’m looking at moving as well, but I’m looking at kamal and uncloud
soyjeansoy
I;m using kamal in one of our internal products.
@rocket4ce what are your thoughts on Kamal over Coolify?
axelbdt
Happy Coolify user here. This is a nice and comprehensive tutorial, good job!
I second using Dockerfile builds. Nixpacks builds are slow, and max out CPU on my small VPS, it led me to get a larger one that’s overkill for actual application load.
rocket4ce
Hi @soyjeansoy, how are you? I hope you’re doing great. From my experience with Kamal and Coolify, if you need more control over deployments to scale, use Kamal. I think Coolify is a great tool, but I haven’t looked much into how to have full control over multiple machines inside a container.
Personally, I prefer Coolify for MVPs and quick testing—and then worry about scaling later.
Neophen
Thank you for the post!
I keep getting these errors when trying to get, i checked the database url and it still doesn’t work. Did you do anything else to set it up?
``
21:09:19.045 [error] Postgrex.Protocol (#PID<0.5574.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (qwkk0sgw40c4ocw04ggkkkks:5432): non-existing domain - :nxdomain```
rocket4ce
Hi @neophen, how are you? Thanks for reading the tutorial. Could you give me a bit more context? My first impression is that the environment variable in Coolify isn’t set.
shahryarjb
did you create your database in the service your elixir app exists too?
after that in Postgres you have this field
Postgres URL (internal)copy itand go to your source code
environment-variablesand addDATABASE_URL. as you see the value should be this! consider i just change thepostgreswith ectoNeophen
Hey, just figured out that i had ssl true, it worked all good after that