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
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...