Installing Coolify on a Raspberry Pi 5

Installing Coolify on a Raspberry Pi 5


I heard a lot of good things about Coolify as a self hosting solution and thought I'll try setting it up on a Raspberry Pi 5 that I wasn't using. The reason I got the Raspberry Pi in the first place was that I my Synology NAS isn't powerful enough to run docker containers and instead of upgrading to a new one it might be better to just add a Raspberry Pi on the side.

I did try Portainer before and I think it was pretty much working but somehow I never really used it and eventually just shut it down. Maybe this will work better?

Install Raspberry Pi OS

Use the Raspberry Pi OS Downloader to load the OS on an SD card. In the config you can activate ssh and set the wifi password.

Once it's booted up it you can ssh to username@raspberrypi.local.

Install Coolify

Run curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash in the ssh terminal. Once it is completed the Coolify UI will be available on http://raspberrypi.local:8000

Setting up Cloudflare Tunnels

In my case my raspberry pi runs behind a nat-router which makes it really hard to expose anything externally. One neat solution is to use Cloudflare Tunnels that makes it possible to expose a port on the raspberry on a custom domain via Cloudflare using a process called Cloudflared.
It seems to be possible run this from inside Coolify, but the simplest solution seems to be to install it directly in the terminal:

sudo apt install cloudflared

Setting up a new service in Coolify

Note to self: