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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...