Self-host Appwrite
Batteries-included backend-as-a-service with auth, databases, storage, functions, messaging, and realtime — a self-hosted, Docker-based alternative to Firebase.
Key facts
Choose Appwrite when you want a batteries-included BaaS — auth, databases, storage, functions, and messaging — installed through a guided wizard rather than assembled by hand. It's PHP and MariaDB under the hood rather than Postgres, so weigh that against Supabase or Nhost if a Postgres-native data layer matters to your stack.
What you need
- Any VPS with at least 4096 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- About an afternoon — budget time for troubleshooting
Install
Run these commands on your server:
# Appwrite — official Docker installer wizard
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:1.9.5
# follow the wizard, then open http://SERVER_IP:20080What you take on
Appwrite's installer does the assembly for you, but running the result long-term is still your job: