application.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # server basic config
  2. server:
  3. port: 12006
  4. servlet:
  5. context-path: /
  6. # eureka server connect config
  7. eureka:
  8. client:
  9. service-url:
  10. defaultZone: http://10.6.17.125:12006/eureka/
  11. register-with-eureka: true
  12. #fetch-registry: false
  13. spring:
  14. # 安全配置,请以实际方式代替
  15. security:
  16. user:
  17. name: admin
  18. password: admin
  19. application:
  20. # 请保持和POM GAV一致
  21. name: ym-ipos
  22. #database operation config
  23. datasource:
  24. type: com.alibaba.druid.pool.DruidDataSource
  25. druid:
  26. url: jdbc:mysql://10.6.17.128:3306/ym_ipos?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
  27. username: zky
  28. password: V&h5IN!&
  29. filter: stat
  30. max-active: 100
  31. initial-size: 5
  32. max-wait: 60000
  33. min-idle: 1
  34. validation-query: SELECT 1
  35. test-while-idle: true
  36. driver-class-name: com.mysql.cj.jdbc.Driver
  37. data:
  38. elasticsearch:
  39. cluster-name: my-application
  40. cluster-nodes: 10.6.17.125:12019
  41. repositories:
  42. enabled: true
  43. local: false
  44. elasticsearch:
  45. rest:
  46. uris: [ "http://10.6.17.125:12018" ]
  47. redis:
  48. ################### redis 单机版 ##########################
  49. host: ${REDIS_IP:10.6.17.127}
  50. port: ${REDIS_PORT:12003}
  51. database: ${REDIS_DB:3}
  52. password: ${REDIS_PASSWORD:MGc8$F36}
  53. # 使用jedis连接池
  54. jedis:
  55. pool:
  56. max-active: 8
  57. max-wait: -1
  58. max-idle: 8
  59. min-idle: 0
  60. timeout: 5000
  61. # mybatis config
  62. mybatis-plus:
  63. config-location: classpath:mybatis-config.xml
  64. mapper-locations: classpath:mapper/ipos/*.xml
  65. # Logger
  66. logging:
  67. level:
  68. com.poteviohealth.ym.ipos.mapper: DEBUG
  69. config: classpath:logback-spring.xml
  70. pay:
  71. field:
  72. ip: 106.37.165.111
  73. url : https://jjyl.cy.checg.cn/gateway/ipos/receive
  74. ribbon:
  75. ReadTimeout: 50000
  76. ConnectTimeout: 50000
  77. sync:
  78. dbName: rz