| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- 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: 192.168.2.92:8848
- namespace: dcfebc41-9e80-48bf-9549-65ddbfada876
- redis:
- host: 192.168.2.92 #Redis服务器地址
- database: 12 # Redis数据库索引(默认为0)
- port: 6379 # Redis服务器连接端口
- password: Fjc@2025 # Redis服务器连接密码(默认为空)
- prefix: cloud_dev
- jedis:
- pool:
- max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
- max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-idle: 8 # 连接池中的最大空闲连接
- min-idle: 0 # 连接池中的最小空闲连接
- datasource:
- url: jdbc:mysql://192.168.2.93:3306/cloud_dev_fyxservice?useSSL=false&serverTimezone=GMT%2b8
- username: fujica
- password: Fjc@2025
- #指定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: fsbase
|