Skip to content

feat: add Custom Docker Labels support to App Store wizard (Fixes #1518)#259

Open
brianewman wants to merge 2 commits intoIceWhaleTech:mainfrom
brianewman:feat-docker-labels
Open

feat: add Custom Docker Labels support to App Store wizard (Fixes #1518)#259
brianewman wants to merge 2 commits intoIceWhaleTech:mainfrom
brianewman:feat-docker-labels

Conversation

@brianewman
Copy link
Copy Markdown

@brianewman brianewman commented Feb 28, 2026

What does this PR do?

This introduces frontend support for defining arbitrary Custom Docker Labels when creating or editing an application via the App Store's "Custom Install" wizard.

This UI submission is the frontend companion to the label parsing logic implemented in CasaOS-AppManagement PR 213.

Changes Made

  • Added a Labels array input group to the ComposeConfig.vue template, styled identically to the Environment Variables wizard.
  • Updated parseComposeItem() to extract Docker labels from an imported Docker Compose template and bind them to the reactive composeServicesItem.labels state.
  • Implemented an explicit exclusion list to hide CasaOS's reserved internal namespace labels (e.g., casaos, icon, host, com.docker.compose.*, etc.) from the user-facing UI, preventing accidental corruption of daemon-managed configuration parameters.
  • Updated outputConfigDataCommands() to correctly serialize user-defined labels back out to the API payload during Save/Export actions.

Related Issues

  • Resolves #1518

@brianewman
Copy link
Copy Markdown
Author

Closing this temporarily. I realized I targeted main instead of the correct development branch. I will open an issue to discuss the feature and find out the correct target branch before resubmitting. Thanks!

@brianewman brianewman closed this Feb 28, 2026
@brianewman
Copy link
Copy Markdown
Author

Upon further review, it appears it may be acceptable to submit this against main. I'm going to reopen it, but feel free to close it if I'm wrong.

@brianewman brianewman reopened this Mar 3, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 3, 2026

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