Open jumkey opened 4 months ago
It would be great if labels could be edited independently and stored in compose.override.yml.
What advantage it is having these in a separate file?
Others Personally, I prefer convention over configuration. Consider using $name.yml->compose.yml/docker-compose.yml $name.env->.env compose.override.yml/docker-compose.override.yml
That complicates the plugin and would be a big change. It also only helps using the files from the command line instead of the plugin.
For instance, using - .env makes it unnecessary to consider whether the name is immich.
This is just a mistake and that line can be removed. The plugin always specifies the the environment file by full path and it isn't necessary to specify it in the compose file.
What advantage it is having these in a separate file?
To prevent clutter in the main file, labels generated by plugins and other labels are stored in separate files.
It would be great if labels could be edited independently and stored in compose.override.yml. e.g. compose.override.yml
In the example, I made some assumptions about the future marketplace, including support for
icon
webui
and attachshell
. labels that are not related to the main file are also stored separately here.Others Personally, I prefer convention over configuration. Consider using $name.yml->compose.yml/docker-compose.yml $name.env->.env compose.override.yml/docker-compose.override.yml
For instance, using
- .env
makes it unnecessary to consider whether the name isimmich
. https://github.com/OpenMediaVault-Plugin-Developers/packages/blob/33aa9b6d487cd674c15d8f584dcc832894ba6c42/compose-files/immich/immich.yml#L10