chore: release 0.2.0+0.58.0 #3
Reference in New Issue
Block a user
No description provided.
Delete Branch ":0.2.0+0.58.0"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
Make the music path configurable via env var & bump to latest release version image
This has been tested on my own Navidrome deployment ✅
Description
This was needed otherwise I had to hack/hard-code the recipe locally to make it a binding path instead of the built-in volume.
👏
@ -9,3 +9,3 @@volumes:- navidrome_data:/data- navidrome_music:/music:ro- "${MUSIC_PATH_HOST}:/music:ro"Should it not be:
"navidrome_music:${MUSIC_PATH_HOST}:ro"?This is pretty unconventional but I can see why you'd want to customise this.
Does it work? We ran into related issues lately: toolshed/abra#492
Other way around, your suggestion would do the following:
navidrome_musicMy change allows you to set a path to your music folder on the host.
And yes it works 💯
Huh, I thought docker swarm didn't support that kind of syntax. Another issue with this is that it breaks volume support for other maintainers (
navidrome_musicdissapears from one version to the next). You can create a separatecompose.hostvol.ymland do your own stuff there without disrupting the main config for the others. See https://docs.coopcloud.tech/maintainers/handbook/#optional-compose-files and the other recipes as examples of how to approach this.Why wouldn't it work? Docker binding/volume syntax is all the same no?
Valid point re: backwards-compat. upon updating though, I didn't think of that, but I'm 50/50 on the optional compose file because it makes NO sense to me to create a new docker volume for the music folder and make it read-only.
That means you'd have to manually mount the volume on another service to upload/add content... which is cumbersome & probs not the ideal use-case?
The binding mount makes a lot more sense as a default option, just like Jellyfin 🤷 so you can use a shared drive or anything else you like on the host to make the media populated & available.
Am I missing something here? 🙃
Let's see what the other maintainers think, @cas @ammaratef45?
Thanks for your feedback all, I've fixed this with a backwards-compatible
EXTRA_VOLUMEenv var and updated the README accordingly 🙏Tested on my own
navidromestack ✅Can we use something like
EXTRA_VOLUMEhttps://git.coopcloud.tech/coop-cloud/jellyfin/src/branch/main/compose.yml#L14? we will need to have a second compose file to override the volume mounted to /music path (not even sure if that works) but that's what I would recommend to stay backward compatibleHappy to break backward compatibility eventually as long as it gets planned ahead of time and with engaging community members who utilize this recipe but let's try to compromise for now, wdyt @pharaohgraphy ?
I considered that first, it's an easy copy-pasta pattern, no brainer, but was against it because I 'assumed' you can only mount to
/musicfor Navidrome to detect your library.That was a bad first take though 😅, cause I just had a look at the docs and it looks like you can just add more & point to any path, so I'll go with this approach instead 🙏
12d7280f8dto84d7fe43a7👏
84d7fe43a7toae8e17d4ce@ammaratef45 @pharaohgraphy i'm just reviewing to help things move along but I recommend you both check out coop-cloud/traefik#61 and implement a
MAINTAINERS.mdhere also? Then we're building some maintainership over this recipe for long-term sustainability 🙏