Rank 2: Process
I'm trying to make code in a function be able to see a named volume declared in my docker compose or a bind mount also in my docker compose, the goal is for the function to work with some permanent files external to it.
I cannot make it see anything because these temp runtimes apparently are created and disposed dynamically instead of being declared in the docker compose file.
In my host I saw this /tmp/appwrite-executor-6575176f390e0cb6479b-662a67aaa7d9a3d3f2e0/src$ ls
code.tar.gz hello.txt
So the folder "appwrite-executor-6575176f390e0cb6479b-662a67aaa7d9a3d3f2e0" is a folder created specifically for that function's deployment, each function version has one.
And in the container runtime I got
/tmp:
code.tar.gz hello.txt
The question is, where in Appwrite's code or declaration files I can mount a directory so my function sees another folder in the host?
I have looked in Executor.php but apparently it is not handling that directly