application.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # server basic config
  2. server:
  3. port: 12011
  4. servlet:
  5. context-path: /
  6. # eureka server connect config
  7. eureka:
  8. client:
  9. service-url:
  10. defaultZone: http://172.17.243.67:12006/eureka/
  11. instance:
  12. appname: cgp-statistics
  13. prefer-ip-address: true
  14. spring:
  15. # 安全配置,请以实际方式代替
  16. security:
  17. user:
  18. name: admin
  19. password: admin
  20. application:
  21. # 请保持和POM GAV一致
  22. name: cgp-statistics
  23. #database operation config
  24. datasource:
  25. type: com.alibaba.druid.pool.DruidDataSource
  26. druid:
  27. url: jdbc:mysql://172.17.243.63:3306/rz_face?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
  28. username: zky
  29. password: V&h5IN!&
  30. filter: stat
  31. max-active: 100
  32. initial-size: 5
  33. max-wait: 60000
  34. min-idle: 1
  35. validation-query: SELECT 1
  36. test-while-idle: true
  37. driver-class-name: com.mysql.cj.jdbc.Driver
  38. data:
  39. elasticsearch:
  40. cluster-name: my-application
  41. cluster-nodes: 172.17.243.67:12019
  42. repositories:
  43. enabled: true
  44. local: false
  45. elasticsearch:
  46. rest:
  47. uris: ["http://172.17.243.67:12018"]
  48. redis:
  49. ################### redis 单机版 ##########################
  50. host: ${REDIS_IP:172.17.243.63}
  51. port: ${REDIS_PORT:16379}
  52. database: ${REDIS_DB:3}
  53. password: ${REDIS_PASSWORD:trJQ#4gN}
  54. # 使用jedis连接池
  55. jedis:
  56. pool:
  57. max-active: 8
  58. max-wait: -1
  59. max-idle: 8
  60. min-idle: 0
  61. timeout: 5000
  62. #mybatis plus配置
  63. mybatis-plus:
  64. config-location: classpath:mybatis-config.xml
  65. mapper-locations: classpath:/mapper/statistics/*.xml
  66. logging:
  67. level:
  68. com.poteviohealth.cgp.statistics.mapper: DEBUG
  69. config: classpath:logback-spring.xml
  70. ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
  71. xxl:
  72. job:
  73. # admin:
  74. addresses: http://172.17.243.67:12010/xxl-job-admin
  75. # executor:
  76. appname: xxl-job-statistics
  77. ip:
  78. port: 9996
  79. accessToken:
  80. logretentiondays: -1
  81. logpath: ./logs/xxl-job
  82. common:
  83. minio:
  84. apiUri: http://172.17.243.63:9000/
  85. uri: https://sq.poteviohealth.com/
  86. bucket: cgpimage
  87. accessKey: admin
  88. secretKey: df73bUx1
  89. jpush:
  90. app_key: c61567cde175728a73a4f9d2
  91. master_secret: 1c8973c67c6ca7100259830c
  92. apnsProduction: true
  93. ribbon:
  94. ReadTimeout: 5000
  95. ConnectTimeout: 5000
  96. sync:
  97. dbName: rz