mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-08 10:26:48 +08:00
76 lines
2.4 KiB
Properties
76 lines
2.4 KiB
Properties
# cloud nacos config
|
|
spring.cloud.nacos.discovery.server-addr=10.251.129.51:8848
|
|
|
|
## redis
|
|
spring.redis.database=1
|
|
spring.redis.host=10.251.129.122
|
|
spring.redis.password=qwert!W588
|
|
spring.redis.port=6379
|
|
|
|
|
|
## datasource config
|
|
spring.jpa.hibernate.ddl-auto=none
|
|
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
|
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
|
|
|
#spring.datasource.url=jdbc:mysql://10.251.129.129:8066/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
|
#spring.datasource.username=admin
|
|
#spring.datasource.password=ocYMC>!{8G
|
|
spring.datasource.url=jdbc:mysql://10.251.129.126:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
|
spring.datasource.username=admin
|
|
spring.datasource.password=boeRds01
|
|
|
|
## 使用 hikari 连接池
|
|
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
|
|
spring.datasource.hikari.auto-commit: true
|
|
spring.datasource.hikari.minimum-idle=5
|
|
spring.datasource.hikari.idle-timeout=60000
|
|
spring.datasource.hikari.connection-timeout=30000
|
|
spring.datasource.hikari.max-lifetime=1800000
|
|
spring.datasource.hikari.maximum-pool-size=20
|
|
|
|
|
|
logging.level.org.hibernate.SQL=ERROR
|
|
# 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 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=https://u.boe.com/upload
|
|
|
|
## 外部接口调用地址 旧系统机构及用户数据接口
|
|
xboe.externalinterface.url.system=http://127.0.0.1:9091
|
|
|
|
## ?????????????
|
|
xboe.old.base.url=https://u.boe.com
|
|
|
|
## ???????api??
|
|
xboe.stat.base.url=http://127.0.0.1:9080
|
|
xboe.server.userbasic.url=https://u.boe.com/userbasic
|
|
|
|
#???
|
|
#jasypt.encryptor.password=jasypt
|
|
jasypt.encryptor.algorithm=PBEWithMD5AndDES
|
|
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
|
|
|
|
# elasticsearch config
|
|
xboe.elasticsearch.server.ip=10.251.129.21
|
|
xboe.elasticsearch.server.port=9200
|
|
xboe.elasticsearch.server.user=
|
|
xboe.elasticsearch.server.password=
|
|
|
|
## ?????
|
|
xboe.email.url=https://u.boe.com/api/b1/email/send
|
|
xboe.email.from=boeu_learning@boe.com.cn
|
|
xboe.email.user=
|
|
xboe.email.security=
|