Back

Function Redeploy on Endpoint changes

  • 0
  • Self Hosted
  • Functions
Matthias Merk
23 Apr, 2024, 06:18

I use a local Appwrite instance for development. My IP changes depending on whether I'm working from home or in the office.

I therefore change the IP of the Appwrite endpoint in my .env.local accordingly.

I have also created the endpoint as a global variable in Appwrite. I also change this depending on where I am working from. The problem now is, that I have to redeploy all cloud functions after the change of the global variable so that they work.

Am I somehow making a mistake, or is this simply a step I have to take everytime? How could I simplify the whole thing?

TL;DR
Developers are asking for advice on how to streamline the process of redeploying cloud functions after changing the global variable for the endpoint in a local Appwrite instance. Is there a way to avoid the manual redeployment step?
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