Docs / Self-Hosted Applications / How to Self-Host Appwrite Backend as a Service

How to Self-Host Appwrite Backend as a Service

By Admin · Mar 1, 2026 · Updated Apr 24, 2026 · 27 views · 2 min read

What Is Appwrite?

Appwrite is an open-source backend-as-a-service (BaaS) platform that provides developers with a set of REST and real-time APIs for building web and mobile applications. It handles authentication, databases, file storage, cloud functions, and messaging so you can focus on your frontend.

Prerequisites

  • A Breeze with at least 4 GB RAM running Ubuntu 22.04+
  • Docker and Docker Compose installed
  • A domain name pointed to your Breeze

Installation

Appwrite provides an official installation script that generates a Docker Compose configuration:

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:latest

The installer will prompt you for your domain, HTTP/HTTPS ports, and secret keys. Once complete, start the stack:

cd appwrite && docker compose up -d

Access the Console

Open http://your-breeze-ip in your browser. Create your admin account, then set up your first project. From the console you can configure authentication providers, create databases and collections, set up storage buckets, and deploy serverless functions.

SDK Integration

Appwrite provides official SDKs for multiple platforms:

  • Web (JavaScript/TypeScript), Flutter, Android, iOS
  • Server SDKs for Node.js, Python, PHP, Ruby, and more

Best Practices

  • Set up SSL with a reverse proxy for production deployments
  • Configure SMTP for email-based authentication flows
  • Use Appwrite Functions for server-side logic and webhooks
  • Enable audit logging to track API usage

Was this article helpful?