application-test.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. spring:
  2. #分库分表配置
  3. shardingsphere:
  4. max-connections-size-per-query: 1000
  5. #定义分库的数据源
  6. datasource:
  7. names: ds0
  8. ds0:
  9. type: com.alibaba.druid.pool.DruidDataSource
  10. driver-class-name: com.mysql.jdbc.Driver
  11. url: jdbc:mysql://120.46.190.49:3306/erp-standard?useUnicode=true&characterEncoding=utf8&autoReconnect=true&rewriteBatchedStatements=true
  12. username: root
  13. password: e77fd994c1c72907
  14. #rabbitmq
  15. rabbitmq:
  16. host: 60.204.236.53
  17. port: 5672
  18. username: userroot
  19. password: user123456
  20. virtual-host: /
  21. #redis 配置
  22. redis:
  23. type: standalone
  24. config:
  25. type: manual
  26. host: 127.0.0.1
  27. port: 6379
  28. password: Iayq@742295
  29. maxIdle: 500
  30. maxTotal: 500
  31. maxWaitMillis: -1
  32. database: 1
  33. # 开发环境日志为debug
  34. logging:
  35. level:
  36. com.hys.app: DEBUG
  37. xxl:
  38. job:
  39. admin:
  40. addresses: http://127.0.0.1:8080/xxl-job-admin
  41. executor:
  42. appname: erp-job-executer
  43. ip:
  44. port: 6998
  45. logpath: /opt/erp/xxl-serverlogs
  46. logretentiondays: -1
  47. accessToken: