
Usually I add folders as volumes in docker-compose.yml.. since the open-runtimes functions are running in isolated containers, they are not part of the docker compose. The runtimes are just brought up when functions get executed.
How do I make folders/shares accessible for a function?

Hi there! you can use Appwrite's built-in data storage feature. Appwrite has a storage API https://appwrite.io/docs/client/storage that allows you to store, manage, and access files and data from within your functions

Upload Data to Appwrite Storage: Before executing your function, you can upload the required data or files to the Appwrite storage. You can use the Appwrite Storage API to upload files from your local machine or another remote location directly to Appwrite.
Retrieve Data in Function: Inside your function, you can use the Appwrite Storage API to fetch the uploaded data. The data will be available as a file or binary, and you can read and manipulate it as needed within your function code.

In Appwrite 1.4, we are committed to enhancing the functionality and scalability of functions. Our aim is to make functions more robust, both in terms of performance and code management.
One of the significant improvements will be the ability to host multiple endpoints as a single function where developers can potentially host the entire API with hundreds of endpoints as just one function in Appwrite 1.4.
so, this would really resolve your issue. Our release is coming up soon so I would definitely love for you to try it out soon!

Ah ok now I get it.. Nice, Im really looking forward to 1.4 thx very much mate

[Solved]Access host filesystem from within a function

[SOLVED] Access host filesystem from within a function
Recommended threads
- Invalid `success` param
Hi again, I've tried to set up the login process. However, I always get the message: `Invalid success param: URL host must be one of: localhost, xxx` I've alr...
- Is it possible to have multiple smtp on ...
I already have one in one project but is it possible to use different one in another?
- How to pass session from browser to a mo...
I have a self-hosted Appwrite container. I also have a www page (A) which should acts as login page for different www services (B). User click login in B, is re...
