-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --profile NAME option to support selectively enabling services #430
Comments
I have the bandwidth to work on this issue (but I'm not a maintainer). Would a reasonable "first pass" include support for both Based on what I've read in the documentation these would be evaluated for the |
This to-do list may change a bit as I start working on the feature but here is what I think I will need to do from a high level. I'll update this comment as items are completed:
|
@dixonwhitmire Looks like a good start to me |
As I recall |
@Arano-kai - thanks for the feedback. I'll see if I can get compose up and running again on my laptop so that I can test a bit before embarking down the podman compose path. I do recognize that |
And here's the official doc. The sections on auto-enablement and dependency resolution are helpful. Although for this first PR I think it may be helpful to have a narrower scope and start out with the changes required to support "explicit enablement" with <Updated this comment to include "profile aware" compose commands> Profile aware commands:
|
Hello. Sorry, what is the version of podman-compose supporting |
I also like this feature, and it's sad that it just got merged a day after releasing 1.0.6. I'd say this change by itself justified having another 1.0.7 release :D :P Anyway, hope it'll be release soon. thanks for your work :) |
Also looking forward this feature! Cut the release please :-D Cheers. |
Same 🥲 |
Any updates on this feature? |
Judging from the release notes it looks like this is included in 1.1.0: https://github.com/containers/podman-compose/releases/tag/v1.1.0
|
This list is missing |
podman-compose.py is still ignoring the |
docker-compose supports selectively enabling services through specifying profiles in the docker-compose.yaml file, and then running those service with
docker-compose --profile NAME
.This option would be nice to have in podman-compose as well, as I have times where some services don't need started, like when I'm writing changes for an app, but still need the other services up to test against.
A workaround I'm using now is to specify different compose config files, which works, but is less convenient than having one file with the entirety of the config.
The text was updated successfully, but these errors were encountered: