Skip to content

docs(opensearch): Add note on enabling APP_ENV for dev environment#2324

Open
Renaud Hager (renaudhager) wants to merge 1 commit into
mainfrom
chores/add-opensearch-note
Open

docs(opensearch): Add note on enabling APP_ENV for dev environment#2324
Renaud Hager (renaudhager) wants to merge 1 commit into
mainfrom
chores/add-opensearch-note

Conversation

@renaudhager

@renaudhager Renaud Hager (renaudhager) commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

This PR adds information regarding OpenSearch and APP_ENV setup.

Related links

Checklist

  • I reviewed affected links, code samples, and cross-references, including PageRef references where relevant.
  • I added or updated redirects in .gitbook.yaml if pages were moved, renamed, or deleted.
  • I updated .wordlist.txt (and sorted it) if spellcheck flags new legitimate terms.
  • Any required dependent changes in downstream modules have already been merged and published.
  • This pull request is ready for review.

Notes

Copilot AI review requested due to automatic review settings June 11, 2026 16:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Shopware PaaS OpenSearch setup guide to document an additional configuration required when running with APP_ENV=dev, helping prevent deployment failures in development-mode setups.

Changes:

  • Adds a “Note” section describing a web_profiler.yaml adjustment for APP_ENV=dev.
  • Provides a YAML snippet to disable the Shopware\Elasticsearch\Profiler\DataCollector.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


## Note

- If you need to enable `APP_ENV` to `dev`, then you need to add the following in the file `config/packages/web_profiler.yaml` under the key `when@dev`:
Comment on lines +31 to +35
services:
Shopware\Elasticsearch\Profiler\DataCollector:
arguments:
$enabled: false
$adminEnabled: false
$adminEnabled: false
```

If you don't do, the next deployment will fail.
@Isengo1989

Copy link
Copy Markdown
Contributor

Renaud Hager (@renaudhager) can you check the comments and resolve them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants