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
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- API key not having access to database
My api key with read and write access to row and tables and DB I not working. In my test the results returned an empty database. This is the second time I am...
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?