Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

镜像问题 #4

Open
ciweigg2 opened this issue Jan 26, 2019 · 7 comments
Open

镜像问题 #4

ciweigg2 opened this issue Jan 26, 2019 · 7 comments

Comments

@ciweigg2
Copy link

镜像部署在远程的话,你本地机器连接远程 他会连接172....:8091这样的网络地址

@slievrly
Copy link
Member

@ciweigg2 客户端的conf文件中的grouplist 决定了该链接哪个server

@ciweigg2
Copy link
Author

grouplist我配置了远程搭建后的宿主鸡ip啊,可是他连接到了容器的内网地址

@slievrly
Copy link
Member

@ciweigg2 进docker容器内看docker的ip,应该配置这个ip,你在宿主机外的机器ping 容器内的ip是否可以ping通?

@ciweigg2
Copy link
Author

要不你留个联系方式吧,我顺便给你讲几个我发现的问题啊 这样说不清楚

@slievrly
Copy link
Member

要不你留个联系方式吧,我顺便给你讲几个我发现的问题啊 这样说不清楚

钉钉群:23171167,@一下群主。

@zw201913
Copy link

@ciweigg2 ip可以直接通过配置修改,http://seata.io/zh-cn/docs/ops/deploy-by-docker.html
seata-server 支持以下环境变量:

SEATA_IP
可选, 指定seata-server启动的IP, 该IP用于向注册中心注册时使用, 如eureka等
类似以下SEATA_IP配置即可:
version: "2.0"
services:
seata-server:
image: seataio/seata-server
ports:
- "8091:8091"
environment:
- SEATA_IP=192.168.2.40
- SEATA_PORT=8091
- STORE_MODE=db

@luodaoyi
Copy link

这里设置的SEATA_IP 没有用 还是会去注册docker的内网ip
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants