application.yml 2.3 KB

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