mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
85 lines
2.8 KiB
Properties
85 lines
2.8 KiB
Properties
## redis
|
||
spring.redis.database=1
|
||
#spring.redis.host=127.0.0.1
|
||
#spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
||
#spring.redis.port=6379
|
||
spring.redis.host=124.70.92.162
|
||
spring.redis.password=qwert!W577
|
||
spring.redis.port=6379
|
||
|
||
# cloud nacos config
|
||
spring.cloud.nacos.discovery.server-addr=127.0.0.1:8848
|
||
|
||
## datasource config
|
||
spring.jpa.show-sql = true
|
||
spring.jpa.hibernate.ddl-auto=update
|
||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||
#spring.datasource.username=root
|
||
#spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
||
spring.datasource.url=jdbc:mysql://10.251.160.40:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||
spring.datasource.username=admin
|
||
spring.datasource.password=boeRds01
|
||
|
||
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/10/static
|
||
|
||
## s秒 ,m分钟 ,h小时,d天
|
||
xcaching.specs.favorites.timeout=10s
|
||
xcaching.specs.praises.timeout=10s
|
||
xcaching.specs.shares.timeout=10s
|
||
|
||
## xboe config
|
||
xboe.api.cross_filter=true
|
||
## 是否是本地开发模式
|
||
xboe.local.dev=true
|
||
|
||
## 上传相磁的路径配置
|
||
xboe.upload.file.temp_path=E:/Projects/BOE/10/static/temp
|
||
xboe.upload.file.save_path=E:/Projects/BOE/10/static/upload
|
||
xboe.upload.file.http_path=http://127.0.0.1:9090/cdn/upload
|
||
|
||
## 外部接口调用地址 旧系统机构及用户数据接口
|
||
xboe.externalinterface.url.system=http://localhost:9091
|
||
|
||
## 新增加的教师的内部调用接口
|
||
xboe.old.base.url=https://u-pre.boe.com
|
||
#xboe.old.base.url=https://pretest.zcwytd.com
|
||
|
||
# 用户中心的接口配置
|
||
xboe.server.userbasic.url=https://u-pre.boe.com/userbasic
|
||
|
||
## 用户统计接口的api地址
|
||
xboe.stat.base.url=http://127.0.0.1:9080
|
||
|
||
#加密盐
|
||
#jasypt.encryptor.password=${JASYPT_ENCRYPTOR_PASSWORD}
|
||
jasypt.encryptor.algorithm=PBEWithMD5AndDES
|
||
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
|
||
|
||
# elasticsearch config
|
||
xboe.elasticsearch.server.ip=127.0.0.1
|
||
xboe.elasticsearch.server.port=9200
|
||
xboe.elasticsearch.server.user=
|
||
xboe.elasticsearch.server.password=
|
||
#xboe.elasticsearch.server.user=elastic
|
||
#xboe.elasticsearch.server.password=Boe@es123
|
||
# 默认搜索的索引
|
||
xboe.elasticsearch.index.name=new_resource_list
|
||
|
||
## 邮件的配置
|
||
xboe.email.url=https://u-pre.boe.com/api/b1/email/send
|
||
#xboe.email.url=https://pretest.zcwytd.com/api/b1/email/send
|
||
xboe.email.from=boeu_learning@boe.com.cn
|
||
xboe.email.user=
|
||
xboe.email.security=
|
||
|
||
|