
I found that there was few other support tickets with same topic, but neither of those seemed to solve my issue. I'm running a function when new user is created, which should create a new user into collection. Function seems to fail at point where it's trying to create document.
I've setup my local appwrite instance with direct copy of https://appwrite.io/install/compose docker-compose.yml
and https://appwrite.io/install/env .env
file.
I understood from previous replies, that for function run, appwrite spins up a new docker container, that runs the function. But does that container spin up inside the appwrite
-stack, or just as own separate docker container?
The function template that I'm using is taken directly from appwrite functions starter templates.

Ah, I can ammend this that much, that I figured out that functions gets spin up as new outside appwrite-stack containers in docker. I wonder what kind of configurations I should perform, to allow that container to access http://localhost/v1 address?
Since on my NextJS project (which I'm running on WSL), I'm able to define appwrite-env variables with http://localhost/v1, and that's working perfectly.
Recommended threads
- Sites not working
Hello! I have Appwrite selfhosted and everything is working except the sites hosting part. I always get an 500 Error and I don't know why. The DNS should be se...
- DNS help
I need the appwrite console in api.xxxxxxx.com and a next.js website in xxxxxxx.com how can i achive this
- getFilePreview CORS Error but Database a...
Hi, I just noticed, that images i get using getFilePreview form Appwrite 1.6.2 (self hosted) are not shown anymore. I get "Response was blocked by CORB (Cross-O...
