This guide will walk you through installing Appwrite on your server using Docker. Appwrite is designed to run on any operating system that supports Docker.
System requirements
Before installing Appwrite, ensure your system meets these minimum requirements:
- 2 CPU cores
- 4GB of RAM
- 2GB of swap memory
- Operating system that supports Docker
- Docker Compose Version 2
Install with Docker
The easiest way to install Appwrite is using our Docker installer tool. This automated installer will guide you through the setup process.
Before running the installation command, ensure you have Docker CLI installed on your host machine.
Installation prompts
During setup, you'll be prompted to configure:
- HTTP and HTTPS ports - Your Appwrite instance's HTTP and HTTPS ports.
- Secret key - Your Appwrite instance's secret key used to encrypt sensitive data.
- Main hostname - Your Appwrite instance's main hostname. Appwrite will generate a certificate using this hostname.
- DNS A record hostname - Usually the same as your main hostname.
Installation commands
Run the following command in your terminal:
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.7.4
CMD
docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="install" ^
appwrite/appwrite:1.7.4
PowerShell
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.7.4
Manual installation
For advanced users who prefer manual setup, you can install Appwrite using Docker Compose directly.
Download configuration files
Download the required configuration files:
- Download
docker-compose.yml
- Download
.env
- Create a directory named
appwrite
and move both files inside
Configure environment
Edit the .env
file to customize your installation:
- Update environment variables as needed
- Set your desired configuration options
- Ensure all required values are properly set
Start Appwrite
Once configured, start your Appwrite stack:
docker compose up -d --remove-orphans
Post-installation
After installation completes:
- Access the Console - Navigate to your machine's hostname or IP address in your browser
- Create an account - Sign up for your Appwrite account
- Create your first project - Set up your development environment
Startup time
On non-Linux hosts, the server might take a few minutes to start after installation completes. This is normal behavior.
Managing your installation
Stop Appwrite
To stop your Appwrite containers:
docker compose stop
Restart Appwrite
To restart your Appwrite containers:
docker compose start
Uninstall Appwrite
To completely remove Appwrite and all its data:
docker compose down -v
Data loss warning
The uninstall command will permanently delete all your Appwrite data. Make sure to backup any important information before running this command.
Next steps
After successfully installing Appwrite, you can:
Deploy on cloud platforms - Learn how to deploy on AWS, DigitalOcean, and other cloud providers
Configure services - Set up email, SMS, storage, and other services
Production setup - Prepare your installation for production use
Update Appwrite - Keep your installation up to date