[英]Jhipster control center not showing applications
I just created a fresh Jhipster 7.0.1 project and I'm trying to use the Jhipster Control center.我刚刚创建了一个新的 Jhipster 7.0.1 项目,我正在尝试使用 Jhipster 控制中心。
In the official page , it says:在官方页面中,它说:
As soon as an application registers on a server (consul or eureka), it will become available in the list.一旦应用程序在服务器(consul 或 eureka)上注册,它将在列表中可用。
I just started all my microservices, they are all registered in the Jhipster registry but they are still not showing up on the Control center.我刚刚启动了我所有的微服务,它们都在 Jhipster 注册表中注册,但它们仍然没有出现在控制中心。
Am I forgetting to do something?我忘记做某事了吗? I didn't do any extra configuration, just created the project and started.我没有做任何额外的配置,只是创建了项目并开始了。
To use JHipster Control Center, you must edit src/main/docker/jhipster-control-center.yml
to configure it to use your chosen discovery service (in your case Eureka with the JHipster registry).要使用 JHipster 控制中心,您必须编辑src/main/docker/jhipster-control-center.yml
以将其配置为使用您选择的发现服务(在您的情况下 Eureka 与 JHipster 注册表)。
The instructions are in the jhipster-control-center.yml
file comments, you got to set 2 environment variables in jhipster-control-center.yml
and remove "127.0.0.1:" prefix from ports
in the jhipster-registry.yml
file.说明在jhipster-control-center.yml
文件注释中,您必须在jhipster-control-center.yml
中设置 2 个环境变量,并从jhipster-registry.yml
文件中的ports
中删除“127.0.0.1:”前缀。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.