mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 11:26:50 +08:00
51 lines
2.0 KiB
Properties
51 lines
2.0 KiB
Properties
# redis
|
||
spring.redis.database=2
|
||
spring.redis.host=127.0.0.1
|
||
spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
||
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://127.0.0.1:3306/boeu_basic?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||
spring.datasource.db1.username=root
|
||
spring.datasource.db1.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
||
|
||
|
||
|
||
# 主数据库 all 对应的数据库
|
||
spring.datasource.db2.driverClassName=com.mysql.jdbc.Driver
|
||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||
spring.datasource.db2.jdbc-url=jdbc:mysql://127.0.0.1:3306/boe_base3?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||
spring.datasource.db2.username=root
|
||
spring.datasource.db2.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
||
|
||
|
||
logging.level.org.hibernate.SQL=DEBUG
|
||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||
|
||
# 设置logback.xml位置
|
||
logging.config=classpath:log/logback-dev.xml
|
||
|
||
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
||
spring.web.resources.static-locations=file:E:/Projects/BOE/java/static
|
||
|
||
## 上传相磁的路径配置
|
||
xboe.upload.file.temp_path=E:/Projects/BOE/java/static/temp
|
||
xboe.upload.file.save_path=E:/Projects/BOE/java/static/upload
|
||
xboe.upload.file.http_path=http://localhost:9090/cdn/upload
|
||
|
||
## 新系统的内部地址,可以不通过nginx调用
|
||
xboe.inner.data.sync.baseurl=http://localhost:9090
|
||
|
||
#加密盐
|
||
#jasypt.encryptor.password=jasypt
|
||
jasypt.encryptor.algorithm=PBEWithMD5AndDES
|
||
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator |