| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- server:
- port: 10018
- servlet:
- encoding:
- charset: UTF-8
- force: true
- context-path: /fyx
- compression:
- enabled: true #开启数据压缩
- mime-types: application/json,application/xml,text/html,text/xml,text/plain
- min-response-size: 2048
- logging:
- file:
- path: log/wookit
- level:
- root: info
- "[javax.management]": INFO
- "[org.apache.http]": INFO
- "[org.apache.tomcat.util.net.NioEndpoint]": INFO
- "[sun.rmi]": INFO
- "[com.alibaba.nacos]": ERROR
- tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
- spring:
- application:
- name: fyxservice
- cloud:
- gateway:
- discovery:
- locator:
- lower-case-service-id: true
- enabled: true
- nacos:
- discovery:
- server-addr: 10.16.0.49:8848
- namespace: 02f60846-3747-424e-a598-2ea9e66dfe87
- redis:
- host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址
- database: 2 # Redis数据库索引(默认为0)
- port: 6379 # Redis服务器连接端口
- password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空)
- prefix: fsv2_pro
- jedis:
- pool:
- max-active: 100 # 连接池最大连接数(使用负值表示没有限制)
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-idle: 20 # 连接池中的最大空闲连接
- min-idle: 10 # 连接池中的最小空闲连接
- datasource:
- url: jdbc:mysql://rm-wz989u6pfs8lb7a22.mysql.rds.aliyuncs.com:3306/fyxservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8
- username: fujicaV2user
- password: BGbn4jP!mq4jxn@o4fQyp5*@
- type: com.zaxxer.hikari.HikariDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- validation-timeout: 3000
- idle-timeout: 60000
- minimum-idle: 30
- read-only: false
- connection-timeout: 60000 #请求连接的超时时间
- maximum-pool-size: 100 #最大连接数量
- max-lifetime: 1800000 #连接的最长生命周期
- connection-test-query: SELECT 1
- #指定mybatis映射文件的地址
- mybatis:
- mapper-locations: classpath:mapper/*.xml
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- async:
- corePoolSize: 5
- maxPoolSize: 10
- queueCapacity: 20
- namePrefix: async-service-
- aliyun:
- oss:
- endpoint: https://oss-cn-shenzhen.aliyuncs.com
- keyid: LTAI5tALFygbdLmGw1VsDEVw
- keysecret: wVJnGaeR8hkxvdnjr2lIzAWlZGVxTG
- bucketname: forv2-prod
- feign:
- httpclient:
- enabled: true #开启feign连接池
- max-connections: 100
- max-connections-per-route: 50
- client:
- config:
- default:
- connect-timeout: 2000 #默认连接超时时间
- read-timeout: 8000 #默认请求超时时间
- payCenterProxy:
- connect-timeout: 2000 #代理服务连接超时时间
- read-timeout: 25000 #代理服务请求超时时
|