application.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. spring:
  2. profiles:
  3. active: dev
  4. application:
  5. name: auth-server
  6. security:
  7. user:
  8. name: admin
  9. password: select111***
  10. rabbitmq:
  11. host: 192.168.0.176
  12. port: 5672
  13. virtual-host: dev
  14. username: saas
  15. password: select123***
  16. zipkin:
  17. sender:
  18. type: rabbit
  19. locator:
  20. discovery:
  21. enabled: true
  22. sleuth:
  23. sampler:
  24. probability: 1.0
  25. datasource:
  26. driver-class-name: com.mysql.cj.jdbc.Driver
  27. url: jdbc:mysql://192.168.0.172:3306/saas_auth?characterEncoding=utf-8&useSSL=false
  28. username: root
  29. password: select111***
  30. hikari:
  31. minimum-idle: 5
  32. maximum-pool-size: 50
  33. idle-timeout: 30000
  34. max-lifetime: 1800000
  35. connection-timeout: 30000
  36. messages:
  37. basename: i18n/messages
  38. redis:
  39. host: 192.168.0.182
  40. port: 6379
  41. jackson:
  42. date-format: yyyy-MM-dd HH:mm:ss
  43. time-zone: GMT+8
  44. eureka:
  45. instance:
  46. leaseRenewalIntervalInSeconds: 10
  47. health-check-url-path: /actuator/health
  48. status-page-url-path: /actuator/info
  49. prefer-ip-address: true
  50. metadata-map:
  51. user.name: ${spring.security.user.name}
  52. user.password: ${spring.security.user.password}
  53. client:
  54. registryFetchIntervalSeconds: 5
  55. serviceUrl:
  56. defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@127.0.0.1:8500/eureka/
  57. server:
  58. port: 8600
  59. tomcat:
  60. uri-encoding: UTF-8
  61. management:
  62. endpoints:
  63. web:
  64. exposure:
  65. include: "*"
  66. endpoint:
  67. health:
  68. show-details: always
  69. shutdown:
  70. enabled: true
  71. restart:
  72. enabled: true
  73. info:
  74. name: '@project.artifactId@'
  75. description: '@project.description@'
  76. version: '@project.version@'
  77. spring-boot-version: '@spring.boot.version@'
  78. spring-cloud-version: '@spring.cloud.version@'
  79. mybatis:
  80. type-aliases-package: com.usoftchina.saas.auth.po
  81. mapper-locations: classpath:mapper/*.xml
  82. auth:
  83. private-key: auth/pri.key
  84. public-key: auth/pub.key