-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve volume handling in the
buildarr compose
command (#188)
* Allow plugins to define volumes as a list of [short-syntax strings](https://docs.docker.com/compose/compose-file/05-services/#short-syntax-5), or a list of [long-syntax dictionaries](https://docs.docker.com/compose/compose-file/05-services/#long-syntax-5), in addition to the currently used simple mapping format. * Convert all supported service volume formats into the "list of long-syntax dictionaries" format in the output Docker Compose file. * Make troubleshooting easier for the user when two services share the same hostname, by outputting the specific instance defined under the specific plugin that was clashed with (instead of the service name in the output Docker Compose file, which the user won't have). * Remove extra newline from the end of the `buildarr compose` command output. * Add new options to the `dummy` plugin for testing the new feaures.
- Loading branch information
Showing
3 changed files
with
146 additions
and
29 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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