Repository navigation
Conversation
Member
|
Hi, thanks for the work, I won't merge it, as it's somewhat special right - but I'd keep this pull request open in case another user has this need. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I was interested sharing USB drives connected to the machine automatically without having to stop/start the container. I created an issue for it.
After working on it I think its ready.
The compose file I'm using:
New environment variables:
Creating directories in ./dynamic-shares are automatically mounted. You can create a file named directory.template in ./dynamic-shares with the following:
The keys will be added when mounting the directory. If you want to add specific keys to a directory just create a section with the same name as the directory (Keys in [global] will be added first).
Creating a file with extension '.share' will add the shares in the file. For example, USB.share: