Skip to content

Conversation

@ChanningHe
Copy link

@ChanningHe ChanningHe commented Jan 28, 2026

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.

  • Add compose_cmd_wrapper_include configuration to control which docker compose subcommands are wrapped
  • Support wrapping
    • Compose: config, build, pull, up, run
    • Stack: config, deploy
  • Fix wrapper placeholder text not displaying in MonacoEditor.

Config

[[stack]]
name = "test"
# ...
additional_env_files = [{ path = "{}", track = false }]
compose_cmd_wrapper = "sops exec-file --no-fifo encrypted.env '[[COMPOSE_COMMAND]]'"
compose_cmd_wrapper_include = ["config", "pull", "up"]

Frontend Screenshots

wp

wp-stack

@ChanningHe ChanningHe force-pushed the feat/compose-cmd-wrapper-include branch 5 times, most recently from f510e6f to f841306 Compare January 28, 2026 07:05
- Add compose_cmd_wrapper_include field to StackConfig.
- Fix wrapper placeholder text not displaying in MonacoEditor.
@ChanningHe ChanningHe force-pushed the feat/compose-cmd-wrapper-include branch from f841306 to e8778f9 Compare January 28, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant