RabbitMQ
  1. 1.
    Add RabbitMQ in .platform/services.yaml
  2. 2.
    Add a relationship for it in .platform.app.yaml
  3. 3.
    Push to Platform.sh (so RabbitMQ is provisioned)
  4. 4.
    For RabbitMQ to work, you need to manually add a queue named shopware-queue and a messages exchange. To do this you can e.g. use the platform CLI to open a tunnel (ssh -L 15672:rabbitmqqueue.internal:15672 $(platform ssh --pipe -A app)) and open the UI via http://localhost:15672/. You can get the credentials via platform relationships. RABBITMQ_URL is set in platformsh-env.php.
  5. 5.
    composer require enqueue/amqp-bunny
Last modified 18d ago
Copy link
Edit on GitHub