What about security at Navidrome?
-
@girish said in Navidrome: Personal Streaming Service:
We are working on a way to mount "external storage" into Cloudron apps for 6.0. I think that feature is required before we bring in some of these media apps. Otherwise, music/video starts getting backed up.
While looking at external storage, I hope you will be able to find a way to support data transfers between applications on cloudron.
For example, on one cloudron instance you have:
- Application A
- Application B
- Data 1
Data 1 resides in Application A, but you would like it also in Application B.
There are a few ways you could do this. At the moment, one would have to re-upload everything to Application B. Even worse, if Application A generates the data, you might have to download Data 1 and then upload it.
I think a shared database for applications has been discussed before and it was viewed as a poor idea.
What we might be able to do is create a sort of in-transit "waiting room" for data using Cubby. This would be physically on the instance and we could use it as a folder where applications could grab files, without the applications needing to directly interact.
-
@LoudLemur said in Navidrome: Personal Streaming Service:
For example, on one cloudron instance you have:
Application A Application B Data 1
This is already possible with Cloudron Volumes.
You could e.g. have all your music on a Hetzner Storage Box and access to those files on Nextcloud, Navidrome and other apps too.
-
@jdaviescoates said in Navidrome: Personal Streaming Service:
@LoudLemur said in Navidrome: Personal Streaming Service:
For example, on one cloudron instance you have:
Application A Application B Data 1
This is already possible with Cloudron Volumes.
You could e.g. have all your music on a Hetzner Storage Box and access to those files on Nextcloud, Navidrome and other apps too.
Thanks. What if you didn't know about this beforehand? For example, if Data 1 was created by App A, and stored on App A's instance, rather than using Cloudron Volumes. It would be too late then, wouldn't it? Having Cubby available for something like this could help get data out of a bad situation.
-
-
@LoudLemur speaking generally (and not in the context of selfhosting), the best way apps can and should interact with each other is via API.
For example, if you drop a file somewhere in nextcloud data directory, it won't pick it up (and for good reason). Unless the app is built around the concept of picking up files from filesystem, this system (around volumes) doesn't work. This is why while we have made it possible to share files via volumes in apps, we haven't invested much energy on this. Most apps have their filesystem layout (say lychee, jellyfin, castopod) and even though they store files in filesystem, it's really like a database (i.e opaque) and it's best not to move things around.