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
cd /home/yellowtent
mkdir appsdata/<app1id>/shared
ln -s `pwd`/appsdata/<app1id>/shared appsdata/<app2id>/.Option b) create ourdata directory in yellowtent and link from here into appid dirs.
cd /home/yellowtent
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. -
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
cd /home/yellowtent
mkdir appsdata/<app1id>/shared
ln -s `pwd`/appsdata/<app1id>/shared appsdata/<app2id>/.Option b) create ourdata directory in yellowtent and link from here into appid dirs.
cd /home/yellowtent
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
-
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
@annaooo To add to this, it's best to create shared folders under /srv, /mnt, /opt instead of
/home/yellowtent. The/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/home/yellowtent.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login