Tanino
Tanino

Reputation: 184

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.

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.

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.

Am I forgetting to do something? I didn't do any extra configuration, just created the project and started.

Upvotes: 1

Views: 607

Answers (1)

Gaël Marziou
Gaël Marziou

Reputation: 16284

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).

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.

Upvotes: 1

Related Questions