需要拉取git代码修改重新打包
Git仓库: https://gitee.com/KFCFans/PowerJob
- 添加pom的依赖
<!-- 达梦 database -->
<dependency>
<groupId>com.dameng</groupId>
<artifactId>DmJdbcDriver18</artifactId>
<version>8.1.1.193</version>
</dependency>
<!-- 必须,对应hibernate的达梦数据库方言 -->
<dependency>
<groupId>com.dameng</groupId>
<artifactId>DmDialect-for-hibernate5.6</artifactId>
<version>8.1.2.192</version>
</dependency>
- 配置application.properties

spring.datasource.core.driver-class-name=dm.jdb

本文介绍了如何从Git仓库https://gitee.com/KFCFans/PowerJob拉取代码,添加达梦数据库的依赖,并配置application.properties文件。随后,文章指导读者如何重新打包项目,并使用PowerJob作者提供的Dockerfile创建新镜像,以便于跨服务器部署。对于docker-compose.yml的部署方式,建议参考另一步博客文章。

3822

被折叠的 条评论
为什么被折叠?



