mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 02:46:50 +08:00
44 lines
1.6 KiB
Properties
44 lines
1.6 KiB
Properties
# datasource config
|
||
# basic数据库
|
||
spring.jpa.hibernate.ddl-auto=none
|
||
spring.jpa.open-in-view=false
|
||
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
|
||
|
||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||
# 原数据库 old 对应的数据库
|
||
spring.datasource.db1.driverClassName=com.mysql.jdbc.Driver
|
||
spring.datasource.db1.jdbc-url=jdbc:mysql://10.251.88.216:3306/elearninglms?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||
spring.datasource.db1.username=admin
|
||
spring.datasource.db1.password=boeRds01
|
||
|
||
|
||
|
||
# 新主数据库 all 对应的数据库
|
||
spring.datasource.db2.driverClassName=com.mysql.jdbc.Driver
|
||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||
spring.datasource.db2.jdbc-url=jdbc:mysql://10.251.88.216:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||
spring.datasource.db2.username=admin
|
||
spring.datasource.db2.password=boeRds01
|
||
|
||
|
||
logging.level.org.hibernate.SQL=ERROR
|
||
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||
|
||
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
||
#spring.web.resources.static-locations=file:E:/Projects/BOE/java/static
|
||
|
||
# 设置logback.xml位置
|
||
logging.config=classpath:log/logback-pro.xml
|
||
|
||
|
||
## 上传相磁的路径配置
|
||
xboe.upload.file.temp_path=
|
||
xboe.upload.file.save_path=
|
||
xboe.upload.file.http_path=
|
||
|
||
|
||
#加密盐
|
||
#jasypt.encryptor.password=jasypt
|
||
jasypt.encryptor.algorithm=PBEWithMD5AndDES
|
||
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator |