docs: drop shopware/docker Composer package from hosting guides - #2439
Open
Soner (shyim) wants to merge 3 commits into
Open
docs: drop shopware/docker Composer package from hosting guides#2439Soner (shyim) wants to merge 3 commits into
Soner (shyim) wants to merge 3 commits into
Conversation
Guide new projects to shopware-cli project create instead of composer create-project, and inline the TRUSTED_PROXIES example instead of linking to the Flex recipe.
Developer Docs healthcheckStatus: Completed with |
Contributor
There was a problem hiding this comment.
Pull request overview
Removes guidance that relied on the shopware/docker Composer metapackage/Flex recipe and updates Docker hosting documentation to use Shopware CLI-based project creation and explicit configuration examples instead.
Changes:
- Update the production Docker hosting guide to create projects via
shopware-cli/npx @shopware-ag/shopware-cliand remove the Flex-recipe Dockerfile recommendation. - Adjust Docker logging guidance to reflect that stdout/stderr logging needs to be configured by the user (no longer via the Composer package).
- Inline a
TRUSTED_PROXIESSymfony configuration example in the reverse HTTP cache guide (removing the external recipe link).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| guides/hosting/installation-updates/docker.md | Replaces composer create-project / shopware/docker guidance with Shopware CLI project creation and updates related Docker notes. |
| guides/hosting/infrastructure/reverse-http-cache.md | Inlines Symfony TRUSTED_PROXIES configuration example instead of linking to the removed recipe. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| ::: info | ||
| Since Shopware 6.6, the `TRUSTED_PROXIES` environment variable is no longer taken into account out of the box. | ||
| Make sure to create a Symfony configuration to make it configurable again, as shown in the [trusted_env.yaml example](https://github.com/shopware/recipes/blob/main/shopware/docker/0.1/config/packages/trusted_env.yaml). | ||
| Create a Symfony configuration to make it configurable again: |
Member
Author
There was a problem hiding this comment.
Named the file: create config/packages/trusted_env.yaml.
Show the production monolog.yaml that writes JSON logs to stderr instead of only mentioning stdout/stderr in passing.
Specify config/packages/trusted_env.yaml so readers know where to put the TRUSTED_PROXIES Symfony configuration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
shopware/dockerComposer package from the production Docker hosting guide.shopware-cli project create(ornpx @shopware-ag/shopware-cli) instead ofcomposer create-project shopware/production.TRUSTED_PROXIESSymfony config in the reverse HTTP cache guide instead of linking to theshopware/dockerrecipe.Related links
n/a
Checklist
PageRefreferences where relevant..gitbook.yamlif pages were moved, renamed, or deleted..wordlist.txt(and sorted it) if spellcheck flags new legitimate terms.Notes
Docker images (
ghcr.io/shopware/docker-base,docker-dev) are unchanged. This only removes the Composer metapackage / Flex recipe path.