This video demonstrates how to set up and deploy applications using Coolify, an open-source alternative to Vercel, in conjunction with Hetzner servers. The presenter walks through the process of creating a Hetzner VPS, installing Coolify on it, and then deploying various services like Redis and N8N, highlighting Coolify's user-friendly interface and cost-effectiveness.
Here's a step-by-step guide based on the video:
Goal: Deploy applications using Coolify on a Hetzner VPS.
Phase 1: Setting Up the Infrastructure
ssh-keygen on your local machine. Copy the content of your ~/.ssh/id_rsa.pub file.Phase 2: Installing Coolify
ssh root@<your_server_ip>
(Replace <your_server_ip> with the actual IP address). Confirm the connection when prompted.curl -fsSL https://coolify.io/install.sh | bash -s or similar).Phase 3: Configuring Coolify and Deploying an Application
Settings -> Domain Configuration.A record for your desired subdomain (e.g., coolify-youtube.yourdomain.dev).A record to your Hetzner server's IP address.Projects.Create New Project.staging, production, dev) if needed.Add New Resource.docker-compose.yml file.Redis from the templates.Start to deploy. Coolify will pull the Docker image and start the Redis container.N8N (or choose another application like a Node.js app from a GitHub repo).Dockerfile or docker-compose.yml, select that option and provide the repository URL and branch.n8n.yourdomain.dev). Ensure the DNS is set up as described in step 1.Start to initiate the deployment. Coolify will build the image (if necessary) and launch the application.https://n8n.yourdomain.dev).Key Coolify Features Mentioned: