I have an appwrite instance running in production. Now, if I re install appwrite, all my funtions and data are getting lost. So, I have to manually deploy the functions every time. What's the way to dockerize the appwrite with functions so that if I build the docker image and run it, it will run with all the functions like before?
Hey there 👋 What's your scenario for reinstalling Appwrite? That should not be nessessary.
You could use Appwrite CLI to easily deploy functions. You could also utilize backup&restore to get all data back after reinstall.
My client is saying that he want one command or way where he can remove all of the thing in the server and then run a docker image. That docker image will then run appwrite with the functions too.
hmm i don't think so...functions are like collections and projects. They're considered data in Appwrite
Recommended threads
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...