Back

[SOLVED] help setup appwrite

  • 0
  • Locale
longline
14 Aug, 2023, 00:08
TL;DR
To install Appwrite, you can use Docker Compose. Here is the command to create it: `docker compose up -d --remove-orphans`. If you want to reinstall the image from scratch, use the following command: ``` 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.3.8 ``` Appwrite uses multiple containers, and you can find more information in the Appwrite documentation
Binyamin
14 Aug, 2023, 00:10

To deoloy Appwrite you'll need to use docker compose.

Binyamin
14 Aug, 2023, 00:10

You can use one liner to create it

Binyamin
14 Aug, 2023, 00:11
longline
14 Aug, 2023, 00:12

docker compose up -d --remove-orphans you mean this code

Binyamin
14 Aug, 2023, 00:12

No. This one

Binyamin
14 Aug, 2023, 00:13

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.3.8

Binyamin
14 Aug, 2023, 00:13
TypeScript
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.3.8
Binyamin
14 Aug, 2023, 00:13

Appwrite uses few containers

Binyamin
14 Aug, 2023, 00:14
longline
14 Aug, 2023, 00:14

thats do the job?

Binyamin
14 Aug, 2023, 00:14

Yes

longline
14 Aug, 2023, 00:15
Binyamin
14 Aug, 2023, 00:15

That can take few minutes then go to localhost

longline
14 Aug, 2023, 00:16

ah that code install a new img

longline
14 Aug, 2023, 00:16

i see

Binyamin
14 Aug, 2023, 00:17

Yes

longline
14 Aug, 2023, 00:17
longline
14 Aug, 2023, 00:18

what if i want to run the latest its already instaled?

Binyamin
14 Aug, 2023, 00:19

1.3.8 is the latest. But if you want you can edit the docker-compose file - this file would be in the filser you've ran the command - then change all the cersions of Appwrite to latest

longline
14 Aug, 2023, 00:19

thatnk u good sir

Drake
14 Aug, 2023, 00:25

[SOLVED] help setup appwrite

longline
14 Aug, 2023, 00:35

@Binyamin sorr

longline
14 Aug, 2023, 00:35

y for the ping

longline
14 Aug, 2023, 00:35

i want to reinstall the image from 0

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more