im-server-dev.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. dynamic:
  16. primary: master
  17. datasource:
  18. master:
  19. url: jdbc:mysql://172.16.88.234:3306/callcenterdb3.0?useUnicode=true&characterEncoding=utf-8
  20. username: root
  21. password: admin01
  22. max-idle: 10
  23. max-wait: 10000
  24. min-idle: 5
  25. initial-size: 5
  26. validation-query: SELECT 1
  27. test-on-borrow: false
  28. test-while-idle: true
  29. time-between-eviction-runs-millis: 18800
  30. driver-class-name: com.mysql.jdbc.Driver
  31. jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
  32. autoconfigure:
  33. exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  34. #mybatis-plus
  35. #mybatis-plus
  36. mybatis-plus:
  37. mapper-locations: classpath*:/mapper/**/*.xml
  38. #实体扫描,多个package用逗号或者分号分隔
  39. typeAliasesPackage: ins.platform.po
  40. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  41. global-config:
  42. # 数据库相关配置
  43. db-config:
  44. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  45. id-type: id_worker
  46. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  47. field-strategy: not_empty
  48. #驼峰下划线转换
  49. column-underline: true
  50. #数据库大写下划线转换
  51. #capital-mode: true
  52. #逻辑删除配置
  53. logic-delete-value: 0
  54. logic-not-delete-value: 1
  55. db-type: h2
  56. #刷新mapper 调试神器
  57. refresh: true
  58. # 打印sql
  59. logging:
  60. level:
  61. com.onepro.custom.mapper: DEBUG
  62. saa:
  63. power: false
  64. basePackage: ins/**/po
  65. address:
  66. record: /home/record/
  67. im:
  68. satis: http://192.168.1.210:9001
  69. # 文本机器人相关信息
  70. easemob:
  71. username: 18792805407@163.com
  72. password: qq123321
  73. url: http://robot.easemob.com
  74. tenantId: 57209
  75. robotId: f2c94f4b-8565-4023-848c-ac1370dc5bc2