Support for docker profiles #638
Open
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.
Support for docker profiles
Closes #423
Why is it in project and not in a separate panel?
What about keybindings?
u
andd
ups and downs profiles, very much like how these ups/downs a service in services panelU
andD
shows menu to up and down project/profile, very much like how they behave in services panelI made these choices because it felt intuitive and found it comfortable during my daily driving the same.
Screenshots:
FAQs:
profile_n
. But when downprofile_n
, it also shuts down base services?Yes, that's because upping
profile_n
will also start base services. And downing will shut down base services as well. This is how--profile
works in docker CLI.d
to down only services pertaining toprofile_n
?It felt to me that this would be intuitive than shutting down base services additionally. But unfortunately, AFAIK in order to achieve this behavior, we need to find a list of all services and filter the ones that belong to the profile and then run down individually on each service.