Skip to content

docs: explain empty Flex marks for symfony/mercure-bundle - #970

Open
alexisLefebvre wants to merge 1 commit into
dunglas:mainfrom
alexisLefebvre:docs-explain-mercure-flex-marks
Open

alexisLefebvre wants to merge 1 commit into
dunglas:mainfrom
alexisLefebvre:docs-explain-mercure-flex-marks

Conversation

@alexisLefebvre

Copy link
Copy Markdown
Contributor

The role of the last symfony/mercure-bundle mark is not obvious, especially when compose.yaml grows with new services and it ends with 2 stray lines, far away from the first mark.

In fact, the question was already raised: #181 (comment)

This PR adds short comments to make it explicit, add details in the first occurrence and a short explanation in compose.override.yaml.

Flex skips a whole compose file once it contains the recipe's opening
mark, so the empty mark in "services" keeps the recipe from adding a
separate Mercure service, which Caddy already provides as a module. The
comments on the "volumes" and override marks point back to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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