application.yml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. url: jdbc:mysql://127.0.0.1:3306/yl_face?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
  25. username: szyl
  26. password: M7puu$Cn
  27. filter: stat
  28. max-active: 100
  29. initial-size: 5
  30. max-wait: 60000
  31. min-idle: 1
  32. validation-query: SELECT 1
  33. test-while-idle: true
  34. driver-class-name: com.mysql.cj.jdbc.Driver
  35. data:
  36. elasticsearch:
  37. cluster-name: my-application
  38. cluster-nodes: 127.0.0.1:9300
  39. repositories:
  40. enabled: true
  41. local: false
  42. elasticsearch:
  43. rest:
  44. uris: ["http://127.0.0.1:9200"]
  45. redis:
  46. ################### redis 单机版 ##########################
  47. host: ${REDIS_IP:127.0.0.1}
  48. port: ${REDIS_PORT:16379}
  49. database: ${REDIS_DB:1}
  50. password: ${REDIS_PASSWORD:trJQ#4gN}
  51. # 使用jedis连接池
  52. jedis:
  53. pool:
  54. max-active: 8
  55. max-wait: -1
  56. max-idle: 8
  57. min-idle: 0
  58. timeout: 5000
  59. #mybatis plus配置
  60. mybatis-plus:
  61. config-location: classpath:mybatis-config.xml
  62. mapper-locations: classpath:/mapper/statistics/*.xml
  63. logging:
  64. level:
  65. com.poteviohealth.cgp.statistics.mapper: DEBUG
  66. config: classpath:logback-spring.xml
  67. ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
  68. xxl:
  69. job:
  70. # admin:
  71. addresses: http://127.0.0.1:12010/xxl-job-admin
  72. # executor:
  73. appname: xxl-job-statistics
  74. ip:
  75. port: 9996
  76. accessToken:
  77. logretentiondays: -1
  78. logpath: ./logs/xxl-job
  79. common:
  80. minio:
  81. apiUri: http://127.0.0.1:9000/
  82. uri: https://rz12349.poteviohealth.com/
  83. bucket: cgpimage
  84. accessKey: admin
  85. secretKey: r^iiP6o1
  86. jpush:
  87. app_key: c61567cde175728a73a4f9d2
  88. master_secret: 1c8973c67c6ca7100259830c
  89. apnsProduction: true
  90. ribbon:
  91. ReadTimeout: 5000
  92. ConnectTimeout: 5000
  93. sync:
  94. dbName: yl
  95. aliyun:
  96. oss:
  97. endpoint: oss-cn-beijing.aliyuncs.com # oss对外服务的访问域名
  98. accessKeyId: LTAIKYgOt8D3W9kz # 访问身份验证中用到用户标识
  99. accessKeySecret: yHszJ0sEyQXq90Ad7cxRh4Ake0qfbd # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
  100. bucketName: ptsubsidy # oss的存储空间
  101. dir: yqaa/