im-server-dev.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. socket:
  2. io:
  3. host: 0.0.0.0
  4. port: 9092
  5. platform: /inform
  6. #dev环境公共配置文件
  7. spring:
  8. sleuth:
  9. sampler:
  10. percentage: 1.0
  11. hystrix:
  12. strategy:
  13. enabled: false
  14. datasource:
  15. url: jdbc:mysql://192.168.1.204:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
  16. username: root
  17. password: Cs123456
  18. max-idle: 10
  19. max-wait: 10000
  20. min-idle: 5
  21. initial-size: 5
  22. validation-query: SELECT 1
  23. test-on-borrow: false
  24. test-while-idle: true
  25. time-between-eviction-runs-millis: 18800
  26. jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
  27. driver-class-name: com.mysql.jdbc.Driver
  28. #mybatis-plus
  29. #mybatis-plus
  30. mybatis-plus:
  31. mapper-locations: classpath*:/mapper/**/*.xml
  32. #实体扫描,多个package用逗号或者分号分隔
  33. typeAliasesPackage: ins.platform.po
  34. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  35. global-config:
  36. # 数据库相关配置
  37. db-config:
  38. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  39. id-type: id_worker
  40. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  41. field-strategy: not_empty
  42. #驼峰下划线转换
  43. column-underline: true
  44. #数据库大写下划线转换
  45. #capital-mode: true
  46. #逻辑删除配置
  47. logic-delete-value: 0
  48. logic-not-delete-value: 1
  49. db-type: h2
  50. #刷新mapper 调试神器
  51. refresh: true
  52. # 打印sql
  53. logging:
  54. level:
  55. com.onepro.custom.mapper: DEBUG
  56. saa:
  57. power: false
  58. basePackage: ins/**/po
  59. address:
  60. record: /home/record/
  61. im:
  62. satis: 192.168.1.110:9001