Khaled Ezzat

Mobile Developer

Software Engineer

Project Manager

DevOps & Self-Hosting

16/07/2025 ๐Ÿ›ก๏ธ How I Self-Hosted Vaultwarden with Coolify: A DevOps Journey

## ๐Ÿ›ก๏ธ How I Self-Hosted Vaultwarden with Coolify: A DevOps Journey

**Meta Description:**
Discover how to self-host Vaultwarden using Coolify in this step-by-step guide. Learn from my personal experience to set up a secure, self-hosted password manager.

## ๐Ÿงญ Why I Chose Vaultwarden + Coolify

Managing passwords securely is crucial, and I wanted a self-hosted solution that didn’t compromise on features. Vaultwarden, a lightweight Bitwarden alternative written in Rust, fit the bill perfectly. To simplify deployment and management, I turned to Coolify, an open-source PaaS that streamlines self-hosting applications.

## ๐Ÿ› ๏ธ Prerequisites

Before diving in, ensure you have:

– A server (VPS or local) with at least 2 CPUs and 2GB RAM.
– A domain name for HTTPS setup.
– Docker and Docker Compose installed.
– Basic knowledge of terminal commands.

## ๐Ÿš€ Step-by-Step Installation Guide

### 1. **Install Coolify**

SSH into your server and run:

“`bash
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash
“`

This script installs Coolify and its dependencies. Once done, access the Coolify dashboard at `http://your-server-ip:8000` and create your admin account.

### 2. **Set Up Vaultwarden in Coolify**

– **Add a New Application:**
– In the Coolify dashboard, click on “Add New Application.”
– Choose “Docker Compose” as the deployment method.

– **Configure the Repository:**
– If you have a Git repository with your Vaultwarden setup, link it. Otherwise, you can create a new one or use a public template.

– **Define Environment Variables:**
– Set necessary environment variables such as `DOMAIN`, `ADMIN_TOKEN`, etc.

– **Deploy the Application:**
– Click on “Deploy” and let Coolify handle the rest.

### 3. **Configure Domain and SSL**

– **DNS Settings:**
– Point your domain’s A record to your server’s IP address.

– **Enable HTTPS:**
– In Coolify, navigate to your application’s settings and enable SSL. Coolify will automatically obtain and configure Let’s Encrypt certificates.

## ๐Ÿ” Security and Optimization Tips

– **Use Strong Admin Tokens:**
– Ensure that your `ADMIN_TOKEN` is a strong, unique string.

– **Regular Backups:**
– Set up automated backups within Coolify to prevent data loss.

– **Firewall Configuration:**
– Only open necessary ports (e.g., 80 and 443) to the public.

– **Monitor Logs:**
– Regularly check application logs for any suspicious activity.

## ๐Ÿ’ญ Personal Reflections

Setting up Vaultwarden with Coolify was a rewarding experience. The combination offers a balance between control and convenience, allowing me to manage my passwords securely without relying on third-party services. Coolify’s intuitive interface made the deployment process straightforward, even for complex applications.

> ๐Ÿง  Ready to start your self-hosted setup?
>
> I personally use [this server provider](https://www.kqzyfj.com/click-101302612-15022370) to host my stack โ€” fast, affordable, and reliable for self-hosting projects.
> ๐Ÿ‘‰ If you’d like to support this blog, feel free to sign up through [this affiliate link](https://www.kqzyfj.com/click-101302612-15022370) โ€” it helps me keep the lights on!

## ๐Ÿ“š Resources

– [Coolify Documentation](https://coolify.io/docs/get-started/introduction)
– [Vaultwarden GitHub Repository](https://github.com/dani-garcia/vaultwarden)
– [Coolify Installation Guide](https://coolify.io/docs/get-started/installation)

23/05/2025 How to Deploy Your First Self-Hosted App with Coolify (No Docker Files Needed)

๐Ÿš€ Why Coolify?

If you just got your VPS up and running, you’re probably wondering: โ€œNow what?โ€ Enter Coolify โ€” an open-source self-hosting platform that makes deploying apps as easy as a few clicks. Itโ€™s like your personal Heroku… but free, private, and under your full control.
Coolify lets you host web apps, databases, and services with a beautiful UI โ€” and no need to write Dockerfiles. Ideal for developers and non-techies who want real control.
In this guide, Iโ€™ll walk you through:
Installing Coolify on your VPS
Setting up your first application (weโ€™ll use FileBrowser)
Adding a custom domain and SSL
Letโ€™s get to it.

๐Ÿ› ๏ธ Step 1: Installing Coolify on Your VPS

Youโ€™ll need a clean VPS with at least:

  • 2 cores
  • 2 GB RAM
  • 30 GB disk

SSH into your VPS as root, then run:

curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash

This script:

  • Installs Docker
  • Sets up required directories
  • Deploys the Coolify stack

Once itโ€™s done, Coolify will be available at:

http://your-server-ip:8000

Open that URL in your browser and create your admin account.

โš ๏ธ Pro Tip: Do this immediately โ€” whoever registers first gets full control!

๐Ÿ“ Step 2: Deploy FileBrowser with One Click

With Coolify installed, letโ€™s deploy something useful: FileBrowser.

  1. Log into the Coolify dashboard.
  2. Click “New Resource” โ†’ “Service”.
  3. Choose FileBrowser from the list of one-click apps.
  4. Give it a name, e.g., filebrowser.
  5. Click “Deploy”.

Done! Youโ€™ve just deployed your first self-hosted app โ€” no Docker knowledge required.

Coolify pulls the Docker image, sets up networking, and starts the service. You can access it immediately from the IP and port it shows.

๐ŸŒ Step 3: Set Up a Custom Domain with SSL

Want to access your app at files.yourdomain.com?

1. Point your domainโ€™s DNS to your VPS IP.

Create an A record:

files.yourdomain.com โ†’ your-server-ip

2. Add domain in Coolify

  • Go to your FileBrowser resource โ†’ Settings โ†’ Domains
  • Add files.yourdomain.com
  • Toggle “Enable HTTPS”

Coolify will auto-issue and renew a Letโ€™s Encrypt SSL cert.

๐Ÿ” This is one of Coolifyโ€™s killer features. Zero-config HTTPS!

๐Ÿ”’ Security Tips

  • Use a non-root user for SSH once setup is done.
  • Enable automatic backups to an S3-compatible bucket (Coolify supports this).
  • Monitor CPU/memory in the dashboard โ€” or install Uptime Kuma for full health checks.

๐Ÿค” Final Thoughts

Coolify lowers the barrier to self-hosting dramatically. You donโ€™t need to understand Docker networking or spend hours troubleshooting configs. Just pick an app, click deploy, and youโ€™re online.

In the next posts, Iโ€™ll cover:

  • Deploying Firefly III (personal finance manager)
  • Hosting a media server (Jellyfin)
  • Automating updates and backups

Stay tuned, and enjoy the freedom of true self-hosting.

๐Ÿง  Ready to start your self-hosted setup?

I personally use this server provider to host my stack โ€” fast, affordable, and reliable for self-hosting projects.
๐Ÿ‘‰ If you’d like to support this blog, feel free to sign up through this affiliate link โ€” it helps me keep the lights on!

16/05/2025 Why You Seriously Need a VPS in 2025 (and How It Can Save You Money)

In todayโ€™s digital world, having a VPS (Virtual Private Server) is no longer just for developers or tech experts โ€” it’s for anyone who wants full control, privacy, and serious performance online.

If you’re running a blog, an online store, managing your personal data, or even experimenting with new tools โ€” a VPS gives you freedom and power that shared hosting simply can’t offer.

๐Ÿ”ฅ Why Having a VPS Is More Important Than Ever

Letโ€™s face it โ€” shared hosting is outdated. Youโ€™re limited by what you can install, slowed down by other users on the same server, and constantly worried about uptime or privacy.

With a VPS, you get:

โœ… Dedicated resources (no more sharing CPU/RAM)
โœ… Faster performance for your sites and apps
โœ… More security โ€” your data stays private
โœ… Full control to install anything you want
โœ… Scalability as your needs grow
โœ… Great for developers and beginners alike

๐Ÿ’ก Coming Soon: How to Host Powerful Open-Source Tools โ€” Free!

What makes a VPS even more valuable is what you can do with it. In my upcoming blog posts, Iโ€™ll show you how to self-host amazing open-source apps that would normally cost you monthly subscriptions elsewhere โ€” but on your VPS, theyโ€™re 100% free!

Some of what Iโ€™ll cover:

  • ๐Ÿ“ FileBrowser โ€“ Access your files anywhere
  • ๐Ÿ” Password Managers โ€“ Secure your credentials
  • ๐ŸŽฅ Media Streaming Servers โ€“ Watch your videos remotely
  • ๐Ÿ“ Note-taking & Drawing Apps โ€“ Organize your life
  • ๐Ÿง  More powerful tools โ€” all under your control

All this will cost you nothing more than your VPS subscription โ€” saving you tons of money each year, while giving you complete ownership of your data

๐Ÿ’ผ My Top VPS Recommendation (Affiliate Link Below ๐Ÿ‘‡)

After years of experience and research, I highly recommend this trusted VPS provider:

โœ… Well-established company with years of experience
โœ… Excellent customer support
โœ… High-performance servers
โœ… Used and recommended by thousands of satisfied customers
โœ… Affordable pricing with flexible plans

๐Ÿ‘‰ Click here to get started with the best VPS (affiliate link)

When you sign up through my link, youโ€™ll not only get a reliable VPS at a great price, but youโ€™ll also be supporting this blog so I can continue sharing more helpful content like this ๐Ÿ™

๐Ÿ›ก๏ธ Final Thoughts

A VPS isnโ€™t just a hosting solution โ€” itโ€™s your own private, powerful, and secure digital space. Whether you’re hosting websites, apps, or personal tools, a VPS gives you total control and protects your data โ€” all at a price thatโ€™s more affordable than ever.

Donโ€™t wait for a shared host to fail you. Start building your digital freedom today โ€” and stay tuned for the tutorials on turning your VPS into a powerful personal server!

๐Ÿ‘‰ Get Your VPS Now (Affiliate Link)

ย