Skip to content

Fix transport config#275

Open
bluvulture wants to merge 1 commit into
2026.xfrom
fix_transport-config
Open

Fix transport config#275
bluvulture wants to merge 1 commit into
2026.xfrom
fix_transport-config

Conversation

@bluvulture

@bluvulture bluvulture commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Fix #264: messenger.yaml mounted empty in php/supervisord containers

.docker/messenger.yaml was bind-mounted over config/packages/messenger.yaml, a path that doesn't exist in the repo. Docker has to synthesize that mount point, and on some setups the nested single-file bind resolves to an empty file inside the container.

It also turns out the file is redundant: since the 2026.1 migration, Pimcore core builds the pimcore_core, pimcore_maintenance, pimcore_scheduled_tasks, pimcore_image_optimize and pimcore_asset_update transports from PIMCORE_MESSENGER_TRANSPORT_DSN_PREFIX, which the committed .env already sets to RabbitMQ. .docker/messenger.yaml just duplicated those same five transports - leftover from the Pimcore 11.x setup (#186) that was never removed.

Fix: delete .docker/messenger.yaml and its two bind mounts. Transport configuration now comes solely from .env + core, which is the intended 2026.x mechanism.

Copilot AI left a comment

Copy link
Copy Markdown

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 cleans up the Docker transport configuration by removing the custom .docker/messenger.yaml override and its bind mounts. The hardcoded transports defined Pimcore messenger queues against a credential-less amqp://rabbitmq:5672/... DSN; deleting them lets Pimcore's default transports resolve via the existing PIMCORE_MESSENGER_TRANSPORT_DSN_PREFIX env var, while RabbitMQ and supervisord consumers stay intact.

Changes:

  • Removed the entire transport definition block from .docker/messenger.yaml.
  • Dropped the messenger.yaml bind mounts from the php and supervisord services in docker-compose.yaml.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.docker/messenger.yaml Deleted custom AMQP transport overrides, deferring to Pimcore defaults driven by the DSN prefix env var.
docker-compose.yaml Removed the read-only volume mounts injecting the custom messenger config into the php and supervisord containers.

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

@bluvulture bluvulture linked an issue Jun 29, 2026 that may be closed by this pull request
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.

[Bug]: messenger.yaml is empty after copy to storage

3 participants