mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 03:16:48 +08:00
54 lines
1.9 KiB
Properties
54 lines
1.9 KiB
Properties
## redis
|
||
spring.redis.database=3
|
||
spring.redis.host=10.251.88.213
|
||
spring.redis.password=qwert!W588
|
||
spring.redis.port=6379
|
||
|
||
# datasource config
|
||
# basic数据库
|
||
spring.jpa.hibernate.ddl-auto=update
|
||
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
|
||
# 当前数据库 basic 对应的数据库
|
||
spring.datasource.db1.driverClassName=com.mysql.jdbc.Driver
|
||
spring.datasource.db1.jdbc-url=jdbc:mysql://10.251.88.216:3306/boe_basic?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-dev.xml
|
||
|
||
## xboe config
|
||
xboe.api.cross_filter=true
|
||
|
||
## 上传相磁的路径配置
|
||
xboe.upload.file.temp_path=/tmp
|
||
xboe.upload.file.save_path=/home/www/elearning/upload
|
||
xboe.upload.file.http_path=http://u.boe.com/upload
|
||
|
||
## 新系统的内部地址,可以不通过nginx调用
|
||
xboe.inner.data.sync.baseurl=http://127.0.0.1:9090
|
||
|
||
#加密盐
|
||
#jasypt.encryptor.password=jasypt
|
||
jasypt.encryptor.algorithm=PBEWithMD5AndDES
|
||
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator |