SOLVED Shared folders best practice
If you would like to share some folders between one or more apps what is the best procedure?
Option a) make a link betwee two appid data dirs
ln -s `pwd`/appsdata/<app1id>/shared appsdata/<app2id>/.
Option b) create ourdata directory in yellowtent and link from here into appid dirs.
mkdir -p ourdata/shared
ln -s `pwd`/ourdata/shared appsdata/<app1id>/.
ln -s `pwd`/ourdata/shared appsdata/<app2id>/.
Option c) Create local shared folder and mount into each app using cloundron's docker-likee mount feature?
Example use case: Nextcloud+Syncthing integration.
Example use case: Nextcloud+Metabase integration. Upload csvs through nextcloud and have them parsed by metabase csv plugin.
I'll answer my own question and leave this thread up in-case anyone searches for this on forum.
The answer is definitely c. As cloudron's clear documentation states you want to use dockers volume like feature which can be controlled through the cloudron ui. Docs: https://docs.cloudron.io/storage/#volumes
As you said, volumes are the correct way to do this. Just wanted to confirm this for other readers.
@annaooo To add to this, it's best to create shared folders under /srv, /mnt, /opt instead of
/home/yellowtentis the home directory of the user which cloudron platform runs as and it's not meant for user data. In fact, it won't let you create a volume under