【发布时间】:2017-06-23 22:04:55
【问题描述】:
我正在尝试为 jhipster-registry 使用预打包的 v3.0.3 战争文件。我使用这些命令行属性启动它,试图将它指向我的 Git 存储库以获取配置信息:
jhipster-registry-3.0.3.war --spring.profiles.active=prod,cust1 \
--spring.cloud.config.server.git.uri=http://myserver/url/MyConfig \
--spring.cloud.config.server.git.username=user \
--spring.cloud.config.server.git.password=pass
它开始了,但我总是得到这个错误:
Your JWT secret key is not set up, you will not be able to log into the JHipster
我尝试了多种设置 Git 存储库的组合。我正在使用来自https://github.com/jhipster/jhipster-registry-sample-config的示例 application.yml 文件
jhipster-registry 本身不会从 Git 读取任何配置文件吗?
如果我想配置 jhipster-registry 属性,我应该继续覆盖命令行上的内容,还是将 yml 文件放在某个地方?当它是预构建的战争文件并嵌入了引导程序/应用程序 yml 文件时,我不清楚配置它的正确方法。
有没有办法打开调试日志以便我查看发生了什么?
【问题讨论】:
标签: jhipster jhipster-registry