bootstrap.yml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. spring:
  2. profiles:
  3. active: agentLv
  4. ---
  5. server:
  6. port: 9027
  7. tomcat:
  8. uri-encoding: utf-8
  9. # 注册中心配置
  10. eureka:
  11. client:
  12. service-url:
  13. defaultZone: http://172.16.0.46:9511/eureka/
  14. instance:
  15. prefer-ip-address: true
  16. # 每隔10s发送一次心跳(默认30s)
  17. lease-renewal-interval-in-seconds: 10
  18. # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
  19. lease-expiration-duration-in-seconds: 30
  20. spring:
  21. profiles: agentLv
  22. application:
  23. name: depot-agent
  24. # 数据库配置
  25. datasource:
  26. driver-class-name: com.mysql.jdbc.Driver
  27. url: jdbc:mysql://172.16.0.46:3306/depot-yunnan?useUnicode=true&characterEncoding=utf-8
  28. username: root
  29. password: 123456
  30. # 缓存配置
  31. session:
  32. store-type: redis
  33. redis:
  34. database: 0
  35. host: 192.168.123.98
  36. port: 6666
  37. password: depotredis
  38. timeout: 3000
  39. jedis:
  40. pool:
  41. max-active: 8
  42. max-wait: -1
  43. max-idle: 8
  44. min-idle: 0
  45. # 静态资源配置
  46. resources:
  47. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
  48. web:
  49. upload-path: /upload
  50. ---
  51. server:
  52. port: 9027
  53. tomcat:
  54. uri-encoding: utf-8
  55. # 注册中心配置
  56. eureka:
  57. client:
  58. service-url:
  59. defaultZone: http://192.168.123.98:9001/eureka/
  60. instance:
  61. prefer-ip-address: true
  62. # 每隔10s发送一次心跳(默认30s)
  63. lease-renewal-interval-in-seconds: 10
  64. # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
  65. lease-expiration-duration-in-seconds: 30
  66. spring:
  67. profiles: dev
  68. application:
  69. name: depot-agent-lv
  70. # 数据库配置
  71. datasource:
  72. driver-class-name: com.mysql.jdbc.Driver
  73. url: jdbc:mysql://192.168.123.38:3306/depot_yunnan?useUnicode=true&characterEncoding=utf-8
  74. username: root
  75. password: 123456
  76. # 缓存配置
  77. session:
  78. store-type: redis
  79. redis:
  80. database: 0
  81. host: 192.168.123.98
  82. port: 6666
  83. password: depotredis
  84. timeout: 3000
  85. jedis:
  86. pool:
  87. max-active: 8
  88. max-wait: -1
  89. max-idle: 8
  90. min-idle: 0
  91. # 静态资源配置
  92. resources:
  93. static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
  94. web:
  95. upload-path: /upload
  96. logging.level.com.chinaitop.depot.agent.crk.mapper: debug