Replace Firebase / Managed BaaS with Self-Hosted Appwrite
End-to-end open-source backend server for Web, Mobile, and Flutter developers (Auth, DB, Functions, Storage) Stop paying Pro + Multi-Project + Egress (~$45–$125/mo) ($45/mo for a 10-person team) and run Appwrite on a $4.50/mo Linux VPS with full data sovereignty.
1-to-100 Seat Total Cost of Ownership (TCO) Table
Comparing Firebase / Managed BaaS (Pro + Multi-Project + Egress (~$45–$125/mo)) vs Appwrite on Hetzner CX22 (4GB RAM / 2 vCPU).
| Team Size | Firebase / Managed BaaS Cost | Appwrite VPS | Net Annual Savings |
|---|---|---|---|
| 1 Seat (Solo) | $45.00/mo ($540/yr) | $4.50/mo (CX22) | +$486 / year |
| 5 Seats | $45.00/mo ($540/yr) | $4.50/mo (CX22) | +$486 / year |
| 10 Seats | $45.00/mo ($540/yr) | $4.50/mo (CX22) | +$486 / year |
| 25 Seats | $45.00/mo ($540/yr) | $4.50/mo (CX22) | +$486 / year |
| 50 Seats | $45.00/mo ($540/yr) | $4.50/mo (CX22) | +$486 / year |
| 100 Seats | $45.00/mo ($540/yr) | $4.50/mo (CX22) | +$486 / year |
Production Docker Compose + Caddy Auto-SSL
Copy and run docker compose up -d on any Ubuntu 24.04 server.
# Production Docker Compose: Appwrite (Replaces Firebase / Managed BaaS)
services:
caddy:
image: caddy:2-alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- caddy_data:/data
networks:
- stack_net
appwrite:
image: appwrite/appwrite:1.6
container_name: stack-appwrite
restart: unless-stopped
environment:
- "_APP_ENV=production"
- "_APP_DOMAIN=baas.${DOMAIN:-yourdomain.com}"
volumes:
- appwrite_data:/data
networks:
- stack_net
redis:
image: redis:7-alpine
container_name: stack-redis
restart: unless-stopped
volumes:
- redis_data:/data
networks:
- stack_net
networks:
stack_net:
driver: bridge
volumes:
caddy_data:
appwrite_data:
redis_data:
# Automatic Let's Encrypt HTTPS for Appwrite
appwrite.{$DOMAIN:yourdomain.com} {
encode zstd gzip
reverse_proxy appwrite:80
}
Why Teams Switch to Appwrite
- ✓Drop-in Firebase replacement
- ✓Serverless functions in Node, Python, Dart, Go
- ✓Built-in granular permissions & SSR SDKs
appwrite/appwrite:1.6
Deploy Appwrite in 60 Seconds
Sized automatically for Appwrite (2048MB container RAM + OS overhead).
Get All 16 Pre-Built Production Stacks + Encrypted S3 Backups
Includes pre-tuned docker-compose.yml, Caddy Auto-SSL, AES-256 encrypted nightly S3/R2 Postgres backups, and Ubuntu 24.04 UFW/Fail2ban hardening scripts.