I’d like to run Rabbit MQ as a separate App that will be used by other apps.
So far, I was able to run Rabbit MQ and access the management console on port
The problem that I’m facing right now is that I can’t expose the TCP port
5672 so other Apps would be able to connect to it.
Here’s the yaml:
services: - name: mq http_port: 15672 internal_ports: - 5672 instance_count: 1 instance_size_slug: basic-xs image: registry: library registry_type: DOCKER_HUB repository: rabbitmq tag: 3.11.14-management health_check: port: 5672 initial_delay_seconds: 120
How can I expose not only
15672 but also
5672 at the same time?
I understand that I could also set up an App with multiple services and connect internally to Rabbit MQ. Unfortunately, my project has multiple services that are exposed on individual subdomains, and afaik, the App Spec doesn’t allow specifying domains on a per-service basis. Domains can be only specified for the whole App.
Unless I misunderstood the App Spec, this is a huge limitation.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.