-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问集成客户端到自己应用时,fat_meta的地址可以配置在哪里? #591
Comments
可以作为system property传进来,比如-Dfat_meta=http://fat.config:8080 |
另外fat_meta不是放在startup.sh脚本的,是maven打包到apollo-core.jar中的apollo-env.properties,所以一次打包就后顾无忧啦 |
顺序有点小问题。 |
倒不是顺序问题,我们的文档没有说过要自己mvn clean deploy吧。。都是通过build.sh打出apollo-core.jar,然后上传到nexus仓库的。 |
写死到jar包也有好处。减少配置。 |
您好!
我已集成客户端到自己应用,在部署的时候,需要配置2个东西:
evn=fat
fat_meta=http://fat.config:8080
evn我用的方式是写入/opt/settings/server.properties文件。
但是fat_meta除了可以放在startup.sh脚本里,还能放在哪里呢?我不想修改startup.sh脚本。
我尝试过etc/profiles,发现没用。
谢谢!
The text was updated successfully, but these errors were encountered: