mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-25 18:47:27 -05:00
[PR #1124] feat: add compose_cmd_wrapper_include for selective command wrapping #1820
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?
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/1124
Author: @ChanningHe
Created: 1/28/2026
Status: 🔄 Open
Base:
2.0.0← Head:feat/compose-cmd-wrapper-include📝 Commits (1)
35e6e51feat: add compose_cmd_wrapper_include for selective command wrapping📊 Changes
6 files changed (+341 additions, -51 deletions)
View changed files
📝
bin/periphery/src/api/compose.rs(+208 -36)📝
bin/periphery/src/api/swarm/stack.rs(+67 -12)📝
client/core/rs/src/entities/stack.rs(+21 -0)📝
client/core/ts/src/types.ts(+8 -0)📝
ui/public/client/types.d.ts(+8 -0)📝
ui/src/resources/stack/config/index.tsx(+29 -3)📄 Description
Summary
Previously, compose_cmd_wrapper only wrapped 'docker compose up'. This caused
issues when using sops or similar tools that need to wrap other commands like
'config' - the placeholder in additional_env_files would fail before the
wrapper was applied.
compose_cmd_wrapper_includeconfiguration to control which docker compose subcommands are wrappedconfig,build,pull,up,runconfig,deployConfig
Frontend Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.