Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
i gave emby and jellyfin a testrun yesterday using docker. I kept emby because i can easily add smb shares using the webinterface. jellyfin requires me to mount those to the host/container. am i using jellyfin wrong?
I see you've got some downvotes, but without anyone suggesting a solution.
You can add the mount points in the docker compose file and then configure Jellyfin to read from the path(s) mounted in the container (/media/movies)
Eg:
i know. i did. i hate it. thanks though. but that usually also requires fiddling with fstab and nobody wants that. just imagine the user roles and rights desasters that anyone with access to the host can see the mount. mount where you need the data, not in 2 or more places just to access it from one place. for me personally emby works much better on this. there are so many environments where you can deploy docker but not modify the host - so i do not see jellyfin really being useable here. i wish they'd add this, but from google searches i understand that it has been requested and there does not seem to be any intention to implement it.
Why is it not mounted on the host/cointainer? I dont think you are using jellyfin "wrong" but its not like you cant just configure a mount point if you wanted to use jellyfin with it.
That is an interesting thing to point out though, im not actually sure but i think they used to support smb shares directly, i might just be thinking of kodi though.
I’m using UnRAID for storage and getting another Linux machine to mount a share on boot has been an exercise in futility so I get it.
Using nfs on ext4 file systems, I've always just added them to fstab and it works just like that
Yeah it definitely does not work in this case. Spent many hours online looking through threads of people with the same problems, but no real solution. I think it has something to do with Unraids MFS implementation. Might be a little older. Only way to get it to work is have a script run every 10 minutes to check for the drive and if it’s not mounted, mount it. Works well enough.
it is not mounted to the container because that is a shit solution. the host would need to mount it and pass that to tge container. emby i stop the container and no connection to the share. mounted in host it would still be there. not to mention the hassle this also means more traffic. an idea why jellyfin doesnt do shares like emby?
Maybe because it's not an obviously wanted feature? But I'm just guessing. You should request it and see what happens, maybe more people want it. I've never even thought about it, since in the case of Podman/docker it's so "obvious" and easy to just mount network shares to the host first. And in the case of Kubernetes you can just mount NFS shares directly into pods.
"obviously".... dont get over yourself. theres been requests.plenty.
migration is also much easier. i think only edgelords prefer mouting in host and container.
Docker(/Compose) can do mounts directly to the container as well.
https://blog.stefandroid.com/2021/03/03/mount-nfs-share-in-docker-compose.html
https://docs.docker.com/engine/storage/volumes/#create-a-service-which-creates-an-nfs-volume
I've used NFS mounts with docker compose before but I see the second link also includes an example for CIFS as well.
Oh, alright! I didn't know that. Thank you for the info, that's handy to know.