3

We have created an Azure Container App which hosts a container for rabbitmq (docker.io/rabbitmq:latest), for this to work we need top expose port 5672 and 15672 (for dashboard). Is this possible, do we need to enable ssh first?

Rafael
  • 1,099
  • 5
  • 23
  • 47

2 Answers2

3

This is now possible due to a new feature https://github.com/microsoft/azure-container-apps/issues/375.

With TCP sockets, you can set exposedPort.

K.S.
  • 2,846
  • 4
  • 24
  • 32
1

The Azure Container Apps ingress listens on port 443. You can map this to the port your container is listening on but there's no way to directly expose other ports. enter image description here

CSharpRocks
  • 6,791
  • 1
  • 21
  • 27
  • 1
    The problem that we have is that we need 2 ports for rabbitmq, the main port and the port for the dashboard (5672 and 15672). Here we can only map to one port – Rafael Sep 07 '22 at 14:51
  • You won't be able to use container app or app service as they only allow one port to be opened. You will need to use either container instance in azure or use a vm – JimmyShoe Oct 19 '22 at 11:52