I'm trying to override the APPWRITE_FUNCTION_API_ENDPOINT variable set to localhost/v1 on my local appwrite instance.
I've tried a functions/.env file as stated in https://appwrite.io/blog/post/announcing-local-development
APPWRITE_FUNCTION_API_ENDPOINT=http://host.docker.internal/v1
and also export APPWRITE_FUNCTION_API_ENDPOINT=http://host.docker.internal/v1
but Platform.environment['APPWRITE_FUNCTION_API_ENDPOINT'] always resolves to "localhost/v1"
what am I missing ?
the top level .env is the docker compose env file
Can't Override APPWRITE_FUNCTION_API_ENDPOINT on macos
Recommended threads
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...