Closed 320187240 closed 1 week ago
seata-server: image: seataio/seata-server:1.8.0.1 container_name: seata-server environment:
我怀疑networks覆盖了seata_ip配置,其他Issue提到过docker run 命令启动方式seata_ip是生效的,经测试在不连接容器网络前提下是有效的,但是会导致无法通过域名方式访问其他容器
uname -a
seata_ip -> SEATA_IP
实测有用,谢谢
Ⅰ. docker-compose部署时,配置SEATA_IP无效
Ⅱ. docker-compose部署时,配置SEATA_IP无效
seata-server: image: seataio/seata-server:1.8.0.1 container_name: seata-server environment:
Ⅲ. 使用docker-compose部署,配置SEATA_IP生效,在nacos注册时使用宿主机ip
Ⅳ. How to reproduce it (as minimally and precisely as possible)
seata-server: image: seataio/seata-server:1.8.0.1 container_name: seata-server environment:
Ⅴ. Anything else we need to know?
我怀疑networks覆盖了seata_ip配置,其他Issue提到过docker run 命令启动方式seata_ip是生效的,经测试在不连接容器网络前提下是有效的,但是会导致无法通过域名方式访问其他容器
Ⅵ. Environment:
uname -a
):win10