mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-11 08:24:30 -05:00
[PR #1124] [MERGED] feat: add compose_cmd_wrapper_include for selective command wrapping #5686
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: ✅ Merged
Merged: 3/23/2026
Merged by: @mbecker20
Base:
2.0.0← Head:feat/compose-cmd-wrapper-include📝 Commits (2)
35e6e51feat: add compose_cmd_wrapper_include for selective command wrapping996bc18Merge branch '2.0.0' into feat/compose-cmd-wrapper-include📊 Changes
6 files changed (+350 additions, -65 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(+38 -17)📄 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.