mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-24 17:40:10 -05:00
Improved support for Stack service profiles #1240
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cyndane31 on GitHub (Jun 17, 2025).
I currently use compose service profiles to control the webui's for a few different backend services, namely my various databases. As far as I can tell, the only way to control deployment of a specific profile is using Extra Args to specify --profile=xxx. A UI element to control the deployed profile near the rest of the control elements would be a nice small QoL improvement.
@nano9g commented on GitHub (Jun 20, 2025):
I was just looking into this and would also appreciate native profile support. For anyone trying to get this to work in the meantime, here's what I discovered.
Extra Args didn't work (for me, at least)
Two reasons:
--profile xyzafterup, which Docker Compose doesn't like (unknown flag: --profile).up, Extra Args are only for theupcommand, and Compose also wants you to specify the profile as part of thedowncommand.COMPOSE_PROFILESseems to be a decent workaroundSince Compose takes anything from the Environment section of Komodo into its own environment, this can be used in lieu of command line args. It also sidesteps both of the Extra Args problems. Example:
or for multiple profiles: