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

使用docker部署,启动后,点击[应用接入] 没反应 #6

Open
poplarHao opened this issue Apr 26, 2022 · 1 comment
Open

Comments

@poplarHao
Copy link

poplarHao commented Apr 26, 2022

基础镜像使用的openjdk:11
docker run -itd --name test -p 8080:8080 openjdk:11

复制所需文件
docker cp schema.sql test:/root/
docker cp opensergo-dashboard.jar test:/root/

进入docker
docker exec -ti test bash

通过下面命令简单配置下所需环境:
apt update && apt -y install mariadb-server
service mariadb start
mysql -u root -p (无密码即可)

create database opensergo;
source /root/schema.sql;
use mysql;
drop user 'root'@'localhost' ;
create user 'root'@'localhost' identified by '' ;
grant all privileges on . to 'root'@'localhost' with grant option;
flush privileges;
exit;

java -jar /root/opensergo-dashboard.jar

然后访问docker所在宿主机8080端口
点击[应用接入]无反应

@mengqinghao
Copy link

没有构建镜像,本地编译构建jar包 启动也是同样的问题:
ui界面可以访问,但应用接入、刷新、delete 按钮均没有反应

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants