One Click Appwrite Setup With Coolify
Published: 2022-09-28 11:09:47

[Appwrite](https://appwrite.io/) 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

```

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](https://appwrite.io/docs/installation#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](https://coolify.io/), which does everything in one place!

### What is Coolify?

**[Coolify](https://coolify.io/)** 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](https://www.heroku.com/)** and **[Netlify](https://www.netlify.com/)** 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 `GitHub`, `GitLab`, `hosted` 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](https://docs.digitalocean.com/products/droplets/how-to/create/)
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:
- After you [log in to the control panel](https://cloud.digitalocean.com/login), click **`Create`** in the top right to open the create menu and choose `Droplets`.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0f1k0fulouj3pnkel7l0.png)



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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0fe85v47d5o6ho2xcq5p.png)



- 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`
1. After the droplet is created, login to it, and install [Docker](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04)
2. After Docker is installed, you need to install [Coolify](https://coolify.io/)
- After installing Coolify, you get a sign-up page. Login/Register.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bz7rmz65tw0n7w5wo95w.png)



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


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qm30i4i9p2kawtj7layn.png)



- 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](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/38r21fv266b8js10nlny.png)



Our Appwrite service using Coolify is now active on [http://coolify.appwrite.org:3001/](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](https://appwrite.io/docs/getting-started-for-web)
🚀 [Appwrite GitHub](https://github.com/appwrite/appwrite)
📜 [Appwrite Docs](https://appwrite.io/docs)
📜 [Coolify Docs](https://docs.coollabs.io/coolify/)
💬 [Discord Community](https://discord.gg/appwrite)