Back

How to dockerize Appwrite with functions?

  • 0
  • Self Hosted
  • Functions
  • Web
shofol
22 Mar, 2023, 09:16

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?

TL;DR
The user wants to know how to dockerize Appwrite with functions so that they don't have to manually deploy the functions every time they reinstall Appwrite. One suggestion is to use the Appwrite CLI to deploy functions. Backup and restore can also be used to recover all data after reinstalling.
Meldiron
22 Mar, 2023, 09:18

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.

shofol
22 Mar, 2023, 09:36

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.

Drake
22 Mar, 2023, 15:29

hmm i don't think so...functions are like collections and projects. They're considered data in Appwrite

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