我刚接触jhipster,我正在尝试运行jhipster注册中心,但我似乎无法使用这个url:http://localhost:8761/从浏览器中访问它。
我是怎么在码头安装的?
在mac上安装
----------------------------------------------------------
Application 'jhipster-registry' is running! Access URLs:
Local: http://localhost:8761/
External: http://172.17.0.2:8761/
Profile(s): [composite, prod]
----------------------------------------------------------
2020-08-18 03:45:45.853 INFO 6 --- [ main] i.g.j.registry.JHipsterRegistryApp :
----------------------------------------------------------
Config Server: Connected to the JHipster Registry config server, using https://github.com/jhipster/jhipster-registry-sample-config !对这个有什么想法吗?
发布于 2020-08-18 09:09:59
在https://www.jhipster.tech/jhipster-registry/中,您将看到“运行此映像的坞-组合文件已经出现在每个microservice src/main/docker目录中”。你试过https://github.com/jhipster/jhipster-sample-app-microservice/blob/master/src/main/docker/jhipster-registry.yml或者你自己的吗?
发布于 2020-11-24 07:59:55
这取决于用于运行服务的docker命令。你必须向集装箱打开港口。
如果您只想查看仪表板,可以运行下面的docker命令
docker run -p 8761:8761 jhipster/jhipster-registry运行此命令后,您可以键入:
localhost:8761在浏览器中,您应该看到控制台。
如果要将注册表连接到其他微服务,则需要设置停靠网络覆盖。
您也可以使用停靠群或库伯奈特进行水平缩放(以制造更多的副本)。
https://stackoverflow.com/questions/63461631
复制相似问题