Back

Communicate Appwrite Function with another local Container

  • 0
  • Self Hosted
  • Functions
  • Tools
Nour
17 Jan, 2024, 16:06

How can I access a local container from Appwrite functions? I have a container for FastAPI, and I want to access it without calling it as an external API. I tried adding it to the Appwrite compose YAML file with the same network and exposed port, but I still couldn’t access it.

TL;DR
Developer wants to access a local container from Appwrite functions without calling it as an external API. They have tried adding it to the Appwrite compose YAML file with the same network and exposed port, but it didn't work. Solution: Make sure both containers are on the same network and the port is correctly exposed, then try accessing it again.
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