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
- appwrite push function (CLI) does not wo...
Hi! I am trying to deploy my function with appwrite CLI. Till today, it worked every time, very well, but because of some reason I am getting this output when u...
- Problem with `appwrite push function` - ...
Hi! I am trying to deploy my function with appwrite CLI. Till today, it worked every time, very well, but because of some reason I am getting this output when u...
- Unable to properly execute function loca...
I've run `appwrite run functions` to setup a function locally at `localhost:3000`. The frontend code at `localhost:5173` is making a request to `http://localhos...