Skip to content

[Feature Request]: Allow remapping of music download folder via ENV variable in docker version #99

@carter-lilley

Description

@carter-lilley

Hey there! Your project me turned me onto ListenBrainz, which has been very fun so far. Excited to give this a shot.

My NAS and Docker stack are on separate machines and I use very restrictive root bind mounts between them for security purposes (allowing only specific docker UID's read/write access, not root). Since Docker permissions aren't recursive, in order to hard map a sub path like: /mnt/media/music/explo:/data/ at the point of mounting would require a separate mount point (one for the root (mnt/media, which I use everywhere else, and one for specifically the expo folder.)

The Arr stack and many other projects have standardized the ability to map subpaths via the environment config, so I can just use this one restrictive bind mount at the root and then map as needed inside each projects configs.

I see you already have this config for the binary version:
DOWNLOAD_DIR=/path/to/musiclibrary/explo/

I think it would make it much more flexible for the end user if we could optionally use this with the docker version as well. (IE, allow us to bind mount the root and map using the config instead.)

Please consider it! Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions