Skip to content
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

opensergo-dashboard可执行包的部署建议 #11

Open
jiang2015 opened this issue Jan 16, 2023 · 2 comments
Open

opensergo-dashboard可执行包的部署建议 #11

jiang2015 opened this issue Jan 16, 2023 · 2 comments
Labels
kind/enhancement Category issues or PRs related to enhancement.

Comments

@jiang2015
Copy link

opensergo-dashboard的稳定版本部署包最新稳定版本部署安装不太友好:
1.配置文件application.yaml和数据库脚本schema.sql都放置在opensergo-dashboard.jar里,需要打开jar包,然后修改数据库链接和拉取schema.sql到本地。

修改建议:
1.创建conf文件夹(和bin,lib文件夹同级),将application.yaml和schema.sql放到conf文件夹下
2.修改bin/startup.sh
JAVA_OPT="${JAVA_OPT} -Dloader.path=${BASE_DIR}/opt-libs -jar {SERVER}.jar"
添加 --spring.config.location=${BASE_DIR}/conf/application.yaml配置即可。

@sczyh30 sczyh30 added the kind/enhancement Category issues or PRs related to enhancement. label Jan 16, 2023
@sczyh30
Copy link
Member

sczyh30 commented Jan 16, 2023

Would you like to contribute a PR to improve it?

@jiang2015
Copy link
Author

Would you like to contribute a PR to improve it?

yes,I do,thank you

jiang2015 pushed a commit to jiang2015/opensergo-dashboard that referenced this issue Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Category issues or PRs related to enhancement.
Projects
None yet
Development

No branches or pull requests

2 participants