diff --git a/app/views/docs/installation.phtml b/app/views/docs/installation.phtml index 6faba10e3..bd2710ca8 100644 --- a/app/views/docs/installation.phtml +++ b/app/views/docs/installation.phtml @@ -61,14 +61,28 @@
docker-compose up -d --remove-orphans
-
-

Once the Docker installation completes, go to your machine hostname or IP address on your browser to access the Appwrite console. Please notice that on non-linux native hosts the server might take a few minutes to start after installation completes.

+

Stop

+ +

You can stop your Appwrite containers by using the following command executed from the same directory as your docker-compose.yml file.

+ +
+
docker-compose stop
+
+ +

Uninstall

+ +

To stop and remove your Appwrite containers you can use the following command executed from the same directory as your docker-compose.yml file.

+ +
+
docker-compose down -v
+
+

Learn More

+ \ No newline at end of file diff --git a/app/views/docs/upgrade.phtml b/app/views/docs/upgrade.phtml index f6e4e5d46..b3d92ef8e 100644 --- a/app/views/docs/upgrade.phtml +++ b/app/views/docs/upgrade.phtml @@ -12,7 +12,8 @@ -

The first step is to install the latest version of Appwrite. Head to the directory where you first installed Appwrite. This is where you will find the appwrite directory and the appwrite/docker-compose.yml file. Make sure you are at the same level as the appwrite directory and then execute the following command

+

The first step is to install the latest version of Appwrite. Head to the directory where you first installed Appwrite. This is the parent directory, where you will find the appwrite directory that contains the docker-compose.yml and .env files.

+
docker run -it --rm \
     --volume /var/run/docker.sock:/var/run/docker.sock \
@@ -23,9 +24,11 @@
 
 
 

This will pull the docker-compose.yml file for the new version and perform the installation. Once the setup completes, verify that you have the latest version of Appwrite.

+
docker ps | grep appwrite/appwrite
+

Verify that the STATUS doesn't have any errors and all the appwrite/appwrite containers have version :

We can now start the migration. Navigate to the appwrite directory where your docker-compose.yml is present and run the following command