apache / apache/dubbo

dubbo可否在docker部署时同时注册两个不同地址

Open
#11,510 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

我们使用的是docker来对开发的服务进行注册,使用DUBBO_IP_TO_REGISTRY可以正确解决容器在另一个主机上访问的ip地址问题,但是在这个宿主机上还部署了另一外的容器,也需要对开发的服务进行访问,我们已经创建了一个docker的网络,他们同时加入了同一个网络,现在希望在另一个宿主的服务消费者使用DUBBO_IP_TO_REGISTRY指定的ip,而同一宿主机的消费者使用,docker网内的主机名,请问有办法实现吗?

Contributor guide

Open the contributing guide

Research direction

The issue does not name any source file, test, or entry point. Start by locating the Docker deployment and service-registration configuration that handles DUBBO_IP_TO_REGISTRY, then determine whether separate addresses can be advertised for local and remote consumers. Done means documenting or implementing a supported configuration and verifying both consumer paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
backend-api-design, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.