RabbitMQ connection impossible from another service
Hi,
I'm trying to setup RabbitMQ and connect from another service on my Dokploy managed server.
Here is the compose file:
I can connect to the rabbitmq dashboard but can't use it from my Symfony app using this DSN URL
amqp://user:[email protected]:5672/%2f
8 Replies
Also tried that
I think you need to add the provider in the traefik.yml and also expose the port from traefik
Like to listen in that port 5672
already have this into traefik.yml file
What should i do in provider section ?
@Siumauricio How I can replicate what's done for database services but for custom service ? With external port settings
or where I can find generated config for inspiration 🧐
Or can I connect through internal network ? like for dbs

SOLUTION
Internal
naming the service as the dokploy service name and using it as host
External
just add a ports to map on the host machine
34567:5672
Hello @ElPoulpo, i'm trying to setup rabbitmq but i failed, it seems to be working but cannot access the UI nor connect to it in with my backends.
Can you share your compose and/or traefik settings ? I didn't understand your solution
Hey @Tom
<your-dokploy-service-id>
is not needed is you are not accessing rabbtimq:5672 from outside
To access the console you have to setup a domain inside Domains
tabs of your Dokploy service. And the console is on port 15672
no extra config needed in traefik or composeThanks a lot I will try this !