external-server-dev.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. spring:
  2. sleuth:
  3. sampler:
  4. percentage: 1.0
  5. hystrix:
  6. strategy:
  7. enabled: false
  8. datasource:
  9. url: jdbc:mysql://172.16.88.234:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
  10. username: root
  11. password: admin01
  12. max-idle: 10
  13. max-wait: 10000
  14. min-idle: 5
  15. initial-size: 5
  16. validation-query: SELECT 1
  17. test-on-borrow: false
  18. test-while-idle: true
  19. time-between-eviction-runs-millis: 18800
  20. driver-class-name: com.mysql.jdbc.Driver
  21. jdbc-interceptors: ConnectionState;SlowQueryReport(threshold=0)
  22. mail:
  23. host: smtp.qq.com
  24. port: 587
  25. username: 875160176@qq.com
  26. password: dzkwtwqzwyvubchj
  27. properties:
  28. mail:
  29. smtp:
  30. auth: true
  31. starttls:
  32. enable: true
  33. thymeleaf:
  34. prefix: classpath:/templates/
  35. suffix: .html
  36. mode: LEGACYHTML5
  37. encoding: UTF-8
  38. content-type: text/html
  39. cache: false
  40. #mybatis-plus
  41. mybatis-plus:
  42. configuration:
  43. cache-enabled: true
  44. mapper-locations: classpath*:/mapper/**/*.xml
  45. #实体扫描,多个package用逗号或者分号分隔
  46. typeAliasesPackage: ins.platform.po
  47. #typeEnumsPackage: com.baomidou.springboot.entity.enums
  48. global-config:
  49. # 数据库相关配置
  50. db-config:
  51. #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
  52. id-type: id_worker
  53. #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
  54. field-strategy: not_empty
  55. #驼峰下划线转换
  56. column-underline: true
  57. #数据库大写下划线转换
  58. #capital-mode: true
  59. #逻辑删除配置
  60. logic-delete-value: 0
  61. logic-not-delete-value: 1
  62. db-type: h2
  63. #刷新mapper 调试神器
  64. refresh: true
  65. server:
  66. port: 18050
  67. logging:
  68. level: debug
  69. outbound:
  70. url: http://172.16.88.234:19000/