fyxservice-dev.yaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. server:
  2. port: 10018
  3. servlet:
  4. encoding:
  5. charset: UTF-8
  6. force: true
  7. context-path: /fyx
  8. compression:
  9. enabled: true #开启数据压缩
  10. mime-types: application/json,application/xml,text/html,text/xml,text/plain
  11. min-response-size: 2048
  12. logging:
  13. file:
  14. path: log/wookit
  15. level:
  16. root: info
  17. "[javax.management]": INFO
  18. "[org.apache.http]": INFO
  19. "[org.apache.tomcat.util.net.NioEndpoint]": INFO
  20. "[sun.rmi]": INFO
  21. "[com.alibaba.nacos]": ERROR
  22. tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false.
  23. spring:
  24. application:
  25. name: fyxservice
  26. cloud:
  27. gateway:
  28. discovery:
  29. locator:
  30. lower-case-service-id: true
  31. enabled: true
  32. nacos:
  33. discovery:
  34. server-addr: 192.168.2.92:8848
  35. namespace: 05044ba6-8b52-4095-8c02-00c5538b5907
  36. redis:
  37. host: 192.168.2.92 #Redis服务器地址
  38. database: 12 # Redis数据库索引(默认为0)
  39. port: 6379 # Redis服务器连接端口
  40. password: Fjc@2025 # Redis服务器连接密码(默认为空)
  41. prefix: fsv2_dev
  42. jedis:
  43. pool:
  44. max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
  45. max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
  46. max-idle: 8 # 连接池中的最大空闲连接
  47. min-idle: 0 # 连接池中的最小空闲连接
  48. datasource:
  49. url: jdbc:mysql://192.168.2.93:3306/dev_fyxservice?useSSL=false&serverTimezone=GMT%2b8
  50. username: fujica
  51. password: Fjc@2025
  52. #指定mybatis映射文件的地址
  53. mybatis:
  54. mapper-locations: classpath:mapper/*.xml
  55. configuration:
  56. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  57. async:
  58. corePoolSize: 5
  59. maxPoolSize: 10
  60. queueCapacity: 20
  61. namePrefix: async-service-
  62. aliyun:
  63. oss:
  64. endpoint: https://oss-cn-shenzhen.aliyuncs.com
  65. keyid: LTAI5tALFygbdLmGw1VsDEVw
  66. keysecret: wVJnGaeR8hkxvdnjr2lIzAWlZGVxTG
  67. bucketname: fsbase