Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
之江实验室 f973f968df | 4 years ago | |
---|---|---|
.. | ||
common | 4 years ago | |
dubhe-admin | 4 years ago | |
dubhe-data | 4 years ago | |
dubhe-k8s | 4 years ago | |
dubhe-model | 4 years ago | |
dubhe-system | 4 years ago | |
sql/v1 | 4 years ago | |
.gitignore | 4 years ago | |
.gitmessage | 4 years ago | |
README.md | 4 years ago | |
pom.xml | 4 years ago |
安装如下软件环境。
在MySQL中依次执行如下sql文件
sql/v1/00-Dubhe-DB.sql
sql/v1/01-Dubhe-DDL.sql
sql/v1/02-Dubhe-DML.sql
根据实际情况修改如下配置文件。
dubhe-admin/src/main/resources/config/application-dev.yml
mvn spring-boot:run
├── common 公共模块
├── dubhe-admin 开发与训练模块
│ ├── src
│ │ └── main
│ │ ├── java
│ │ │ └── org
│ │ │ └── dubhe
│ │ │ ├── AppRun.java
│ │ │ ├── domain 实体对象
│ │ │ ├── repository 数据库层
│ │ │ ├── rest 控制层
│ │ │ └── service 服务层
│ │ │ ├── dto 数据传输对象
│ │ │ ├── impl 服务实现
│ │ │ └── mapper 对象转化
│ │ └── resources 配置文件
├── dubhe-data 数据处理模块
├── dubhe-model 模型管理模块
├── dubhe-system 系统管理
上传镜像功能依赖docker服务,harbor与dokcer的信任配置如下:
vi /lib/systemd/system/docker.service
ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock
vi /etc/docker/daemon.json
{
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"insecure-registries":[harbor地址],
"log-opts": {
"max-size": "100m"
}
}
systemctl daemon-reload
service docker restart
systemctl status docker