mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-13 02:25:15 -05:00
RabbitMQ and backend could not communicate due to "Enable Isolated Deployment" option #125
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hussainsabba on GitHub (Oct 6, 2025).
Template Name
RabbitMQ
Relevant Logs of the Error
I initially submitted PR #426 to add RabbitMQ to the
dokploy-networkso that the backend could connect to it.Later I discovered the root cause was not the compose configuration itself, but the "Enable Isolated Deployment" option under Advanced Settings.
Problem
When "Enable Isolated Deployment" is ON, each service is placed in its own Docker network (e.g.,
estage-rabbitmq-gm8wnxvsdokploy-network).This results in services not being able to resolve each other by hostname (
rabbitmq,postgres, etc.), breaking backend-to-service connectivity.The issue is compounded by the fact that this option is somewhat hidden in the Advanced Settings, so users may not realize its impact until they troubleshoot networking problems.
Expected behavior
dokploy-networkautomatically, enabling hostname resolution across services (e.g.,amqp://user:pass@rabbitmq:5672).Clarification needed
Why this matters
This caused confusion because initially it appeared to be a misconfigured compose file. The real issue was networking isolation.
Steps to Reproduce the Error
Steps to Reproduce the Error
estage-rabbitmq-gm8wnxvsdokploy-network).rabbitmq:5672).Expected: Backend should be able to resolve
rabbitmqand connect successfully.Actual: Hostname resolution fails because the services are on separate networks.
Environment Information
When does this error occur?
When accessing the application
Additional Context
No response
Will you send a PR to fix it?
No