go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

Questions on RPC yaml config.

Open suguer opened this issue 2 years ago • 2 comments
trafficstars

Name: whois.rpc
ListenOn: 0.0.0.0:30000
Etcd:
  Hosts:
  - ip:2379
  Key: whois.rpc

请问一下 etcd在B主机上,rpc在A主机的docker上,如果ListenOn写0.0.0.0的话 etcd会记录docker内网的IP, 可以怎么部署让etcd记录需要的外网IP:端口

suguer avatar Apr 13 '23 02:04 suguer

It's not recommend to use this kind of deployment. On your local laptop, you can use direct host:port, without docker.

kevwan avatar Apr 16 '23 01:04 kevwan

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 20 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Jul 24 '24 01:07 github-actions[bot]