[CLOSED] What should I set env variable if I want to use self hosted appwrite with ngrok
- 0
- Self Hosted

_APP_DOMAIN=localhost
_APP_DOMAIN_FUNCTIONS=functions.localhost
_APP_DOMAIN_TARGET=localhost

Set _APP_DOMAIN
and _APP_DOMAIN_TARGET
to your ngrok domain.
As for the functions domain...You need to set it to the base domain such that all subdomains point to _APP_DOMAIN_TARGET
...can you do that with ngrok?

Is the following deployment successful

That's just a domain. Not a deployment

I am getting following error when I try to access the url, do you have soln for this?


That's a domain/ngrok problem

The domain needs to point to Appwrite. And it's up to you to handle ssl

When I click execute now, it worked so I think It has been deployed successfully, just I can't call it via URL

That's your problem with your domain

Yup you were correct, subdomain does not point to my instance

Is there any way we can call it via root domain?

Please read through https://appwrite.io/docs/products/functions/execution

I used One Click Setup for Appwrite on Gitpod, there also it the subdomain one did not work after setting up the Github??

This issue can be closed now

[CLOSED] What should I set env variable if I want to use self hosted appwrite with ngrok
Recommended threads
- Unexpected File Persistence Across Appwr...
I'm encountering an issue where files created during an Appwrite Function execution persist across subsequent executions. Specifically, when a function writes a...
- Cannot connect to SMTP in AppWrite - set...
This used to work and then at some point it stopped. One thing that happened in that time was moving my application to Vercel. I have read on another thread t...
- [Self Hosted]
fresh instance of Appwrite - cant deploy function from local to instance ✗ Error • func2 (68134cd9002358f96e4a) • Invalid `specification` p...
