
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
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
- REQUEST FAILED IN MIGRATION
I was trying to moved my archived project to a self-host database . Though the Project is "read only" but there's a message that I can view and migrate data to...
