DEV Community

Cover image for One Click Appwrite Setup With Coolify
haimantika mitra for Appwrite

Posted on

One Click Appwrite Setup With Coolify

Appwrite is a self-hosted backend-as-a-service platform that provides developers with all the core APIs required to build any application.
Appwrite takes the heavy lifting for developers and handles user authentication and authorization, databases, file storage, cloud functions, Webhooks, and much more!

Appwrite can be self-hosted on your own server with Docker installed using a command.

docker run -it --rm \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
    --entrypoint="install" \
    appwrite/appwrite:0.13.4

Enter fullscreen mode Exit fullscreen mode

This gives you everything you need to get started quickly when building one or more projects. If you're not used to self-hosting, you can also launch Appwrite using a pre-configured setup with One-Click Setups.

What If You Could Do More?

As a developer, or a project maintainer, we tend to look for ways to automate repetitive tasks or have everything in one place, isn’t it?

What if I told you, you can deploy Appwrite with one-click setups and be able to:

  • Do Git integrations
  • Manage development flows (PR/MR builds)
  • Manage databases
  • Manage remote server

All of it, from a single instance! Sounds interesting right? It’s Coolify, which does everything in one place!

What is Coolify?

Coolify is a self-hostable, all-in-one solution to host your applications, databases, or other open-source services with a few simple clicks.

It's an alternative software to Heroku and Netlify and other alternatives out there.

Features:

  • Deploy Static, NodeJS, Svelte, React, Vue, Next, Nuxt, Astro, PHP, Rust, and more applications hassle-free with automatic reverse proxy and free SSL certificates.
  • One-click MongoDB, MySQL, PostgreSQL, CouchDB, and RedisDB instances are ready to use, locally or over the internet.
  • One-click and deploy your own instance of WordPress, Ghost, Plausible Analytics, NocoDB, BitWarden/VaultWarden, LanguageTool, N8n, VSCode Server, and more.
  • Deploy any of these resources to a Local Docker Engine or Remote Docker Engine.
  • Integration with GitHubGitLabhosted or self-hosted versions.
  • Automagically deploy new commits and pull requests separately to quickly review contributions and speed up your teamwork!
  • You can manage teams easily with our new team management system. Each team is separated by a namespace, and you can create as many teams as you want.
  • Upgrade your all-in-one IaaS platform with one button!

Getting Started

To use the best of both worlds - Appwrite and Coolify, the easiest way is using Digital Ocean!

  1. Make a Digital Ocean droplet DigitalOcean Droplets are Linux-based virtual machines (VMs) that run on top of virtualized hardware. The Droplet create page is where you choose your Droplet’s configuration, like its operating system, how much memory it has, and which features (like backups or monitoring) to enable.

Here’s how you can create it:

Image description

  • Choose the image of your choice, for this example, you can choose Ubuntu

Image description

  • In the Choose a plan section, choose the amount of RAM, storage space, and CPU cores your Droplet will have. For this example, you can choose Basic plan.
  • In the next step, choose a datacentre region and the type of authentication
  • Finally, click on Create Droplet
  • After the droplet is created, login to it, and install Docker
  • After Docker is installed, you need to install Coolify
  • After installing Coolify, you get a sign-up page. Login/Register.

Image description

  • After logging in, you will get to see the Coolify dashboard.

Image description

  • Under the Services tab, you will find Appwrite , simply click on it and choose the latest version.

Fill in the required details, and you should be able to use Appwrite!

Image description

Our Appwrite service using Coolify is now active on http://coolify.appwrite.org:3001/

Learn More

Hope you enjoyed the tutorial, below are few resources to learn about Appwrite and Coolify.

🚀 Getting Started Tutorial
🚀 Appwrite GitHub
📜 Appwrite Docs
📜 Coolify Docs
💬 Discord Community

Top comments (0)