minio and Hetzner Storage Box
-
Yes there is.
It is called volumes. https://docs.cloudron.io/volumes/You can add the 5TB Storage Box as a volume (or better, a sub-account of that box as a volume) and then move the whole minio app into that volume.
Done.wrote on Apr 11, 2024, 10:46 PM last edited by@BrutalBirdie said in minio and Hetzner Storage Box:
then move the whole minio app into that volume.
I'm not sure I get this part of your proposed solution.
How can you move an app into a volume
-
@BrutalBirdie said in minio and Hetzner Storage Box:
then move the whole minio app into that volume.
I'm not sure I get this part of your proposed solution.
How can you move an app into a volume
@jdaviescoates maybe @BrutalBirdie meant https://docs.cloudron.io/apps/#data-directory . There is a volume selector to move app data.
-
@jdaviescoates maybe @BrutalBirdie meant https://docs.cloudron.io/apps/#data-directory . There is a volume selector to move app data.
wrote on Apr 12, 2024, 5:25 PM last edited by@girish I thought perhaps he meant that too, but afaik Hetzner Storage boxes aren't really suitable for Data Directory because the mount options available don't have proper permissions systems
As per the docs:
cifs and sshfs volumes are unsuitable as an app's data directory as they do not support file permissions and ownership. mountpoint and nfs volumes may or may not work depending on the destination filesystem.
-
@jdaviescoates right, you can't use hetzner storage boxes for app data directory.
-
I still use it for my emby instance
over 1 TB stored in a volume, not the whole app, but basically all media.
-
I still use it for my emby instance
over 1 TB stored in a volume, not the whole app, but basically all media.
wrote on Apr 12, 2024, 9:21 PM last edited by@BrutalBirdie yeah, all my music is on a Hetzner storage box mounted as a Cloudron Volume into my Navidrome app too. I guess it works fine for such things.
-
Yes there is.
It is called volumes. https://docs.cloudron.io/volumes/You can add the 5TB Storage Box as a volume (or better, a sub-account of that box as a volume) and then move the whole minio app into that volume.
Done.wrote on Apr 14, 2024, 6:55 PM last edited by@BrutalBirdie Hi, thanks. Already tried that nut doesn't seem to work...
What m I doing wrong? -
wrote on Apr 14, 2024, 6:56 PM last edited by sponch Apr 14, 2024, 6:56 PM
ups...should have read the rest of the postings... so no chance to use the storage box for S3 via Minio?
-
@sponch not on Cloudron atleast. I just checked the upstream project and they mention that there might be inconsistencies with using Minio with CIFS - this comment .
I did find this interesting series of articles about Minio+CIFS as well - https://maulana.id/soft-dev/2021--05--07--10--lesson-learned-on-deploying-minio-with-cifs-backend-part-1/ .... It's not straightforward.
-
wrote on Apr 30, 2024, 1:27 PM last edited by
I am looking for a cost-effective solution to host videos that will be embeded on my moodle site.
Here is the cheapest solution I came up with:
- Use minio and hetzner storage box to store the vidoes
- Use PeerTube to encode and stream the videos
- Then embed the videos on my moodle site
Does this solution work?
Which mount type should i choose? (chatgpt says NFS or SSHFS but I am not sure) -
wrote on Apr 30, 2024, 1:39 PM last edited by
I just read the doc: https://docs.cloudron.io/volumes/
is CIFS the best option for hetzner storage box? since NFS is unencrypted, and SSHFS sub accounts are not very reliable> -
Hetzner storage box won't work for minio since it doesn't support NFS either (last I checked). Maybe you can consider Hetzner volumes - https://docs.hetzner.com/cloud/volumes/getting-started/creating-a-volume
-
Hetzner storage box won't work for minio since it doesn't support NFS either (last I checked). Maybe you can consider Hetzner volumes - https://docs.hetzner.com/cloud/volumes/getting-started/creating-a-volume
wrote on Apr 30, 2024, 9:48 PM last edited byHere is my understanding for now (correct me if I am wrong):
- In order to stream videos, I need to use "Data Directory" rather than "Mounts".
- Only volumes with Mount Type EXT4 and NFS can be used as Data Directory.
- Hetzner storage box does not support either EXT4 or NFS.
I was confused with Data Directory and Mounts.
I thought I could use Mounts for video streaming purposes. -
-
@taowang right, I think you can change peertube's storage directory in production.yaml to point to the CIFS Mount (storage box). That should work.
-
@taowang right, I think you can change peertube's storage directory in production.yaml to point to the CIFS Mount (storage box). That should work.
wrote on May 1, 2024, 10:04 AM last edited byThat works with object storage that meets 2 requirements: https://docs.joinpeertube.org/maintain/remote-storage
- S3 compatible
- support virtual hosting of bucket.
I thought Hetzner storage box is not S3 compatible. Is it?
-
@taowang peertube stores files in the filesystem (by default). If you check the configuration file (https://docs.cloudron.io/apps/peertube/#customization) , you can see the paths. Change the paths to that of the your mount.
The S3 stuff comes into picture only if you configure peertube to use "object storage" (i.e remote storage, I think in peertube lingo)
-
wrote on Nov 28, 2024, 8:45 PM last edited by
Yes it´s possible. Watch the video!