xxxxxxxxxx
# This will pull the docker-compose.yml file for the new version and
# perform the installation. Once the setup completes
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:<VERSION_NAME>
# verify that you have the latest version of Appwrite.
docker ps | grep appwrite/appwrite
# Running the Migration
cd appwrite/
docker compose exec appwrite migrate