Skip to content

Commit

Permalink
Update RabbitMQ DSN (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
skoch98 committed Apr 2, 2024
1 parent fbd28ac commit 6fe7fa3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .docker/messenger.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
framework:
messenger:
transports:
pimcore_core: '%env(MESSENGER_TRANSPORT_DSN)%pimcore_core'
pimcore_maintenance: '%env(MESSENGER_TRANSPORT_DSN)%pimcore_maintenance'
pimcore_scheduled_tasks: '%env(MESSENGER_TRANSPORT_DSN)%pimcore_scheduled_tasks'
pimcore_image_optimize: '%env(MESSENGER_TRANSPORT_DSN)%pimcore_image_optimize'
pimcore_asset_update: '%env(MESSENGER_TRANSPORT_DSN)%pimcore_asset_update'
framework:
messenger:
transports:
pimcore_core: 'amqp://rabbitmq:5672/%2f/pimcore_core'
pimcore_maintenance: 'amqp://rabbitmq:5672/%2f/pimcore_maintenance'
pimcore_scheduled_tasks: 'amqp://rabbitmq:5672/%2f/pimcore_scheduled_tasks'
pimcore_image_optimize: 'amqp://rabbitmq:5672/%2f/pimcore_image_optimize'
pimcore_asset_update: 'amqp://rabbitmq:5672/%2f/pimcore_asset_update'
3 changes: 0 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ services:
environment:
COMPOSER_HOME: /var/www/html
PHP_IDE_CONFIG: serverName=localhost
MESSENGER_TRANSPORT_DSN: amqp://guest:guest@rabbitmq:5672/%2f/
# Feed installer configuration via ENV variables.
# See: https://pimcore.com/docs/pimcore/current/Development_Documentation/Getting_Started/Advanced_Installation_Topics.html#page_Advanced-Installation-Topics
PIMCORE_INSTALL_MYSQL_USERNAME: pimcore
Expand All @@ -61,8 +60,6 @@ services:
supervisord:
#user: '1000:1000' # set to your uid:gid
image: pimcore/pimcore:php8.2-supervisord-latest
environment:
MESSENGER_TRANSPORT_DSN: amqp://guest:guest@rabbitmq:5672/%2f/
depends_on:
rabbitmq:
condition: service_started
Expand Down

0 comments on commit 6fe7fa3

Please sign in to comment.