application-dev.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #dev环境公共配置文件
  2. spring:
  3. rabbitmq:
  4. host: 172.16.88.235
  5. port: 5672
  6. username: guest
  7. password: guest
  8. redis: #redis 配置
  9. database: 0
  10. password: Cs123456
  11. host: 172.16.88.235
  12. port: 6379
  13. pool:
  14. max-wait: 30
  15. max-idle: 5
  16. boot:
  17. admin:
  18. client:
  19. service-base-url: http://localhost:9101
  20. cache:
  21. type: redis
  22. # JWT
  23. jwt:
  24. header: Authorization
  25. secret: arch6Secret
  26. expiration: 86400
  27. tokenHead: "Arch6WithCloud "
  28. jackson:
  29. serialization:
  30. INDENT_OUTPUT: true
  31. eureka:
  32. client:
  33. registry-fetch-interval-seconds: 10 # 默认为30秒
  34. instance:
  35. lease-renewal-interval-in-seconds: 10 # 心跳时间,即服务续约间隔时间(缺省为30s)
  36. lease-expiration-duration-in-seconds: 30 # 发呆时间,即服务续约到期时间(缺省为90s)
  37. prefer-ip-address: true
  38. instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  39. management:
  40. health:
  41. rabbit:
  42. enabled: false
  43. binders:
  44. enabled: false
  45. security:
  46. enabled: false # spring-boot 1.5.2之后严格执行安全策略,所以需要配置这个为false ,否则很多点监控不到
  47. feign:
  48. hystrix:
  49. enabled: false #Hystrix支持,如果为true,hystrix库必须在classpath中
  50. compression:
  51. request:
  52. enabled: true #请求GZIP压缩支持
  53. mime-types: text/xml,application/xml,application/json #支持压缩的mime types
  54. min-request-size: 2048
  55. response:
  56. enabled: true #响应GZIP压缩支持
  57. httpclient:
  58. enabled: true
  59. hystrix:
  60. command:
  61. default:
  62. execution:
  63. timeout:
  64. enabled: false
  65. isolation:
  66. thread:
  67. timeoutInMilliseconds: 60000 #让Hystrix的超时时间改为5秒,默认1秒
  68. logging:
  69. config: classpath:logback-custom.xml
  70. logstash:
  71. host: 192.168.1.104:4560
  72. gofastdfs:
  73. url: http://120.24.186.63:18080/group1/upload
  74. recordUrl: http://120.24.186.63:18080/group1
  75. smartUrl: http://120.24.186.63:18080
  76. server:
  77. undertow:
  78. accesslog:
  79. enabled: false
  80. pattern: common
  81. ignore:
  82. tables: "agent_record_summary_byday,ai_sale_phone,api_area_info,api_hospital_info,ast_service_threshold,crm_area_code,crm_base_area,crm_batch_task,
  83. crm_batch_task_1,crm_campaign_batch,crm_campaign_intention,crm_campaign_template,crm_campaign_time,crm_campaign_time,crm_fail_reason,crm_hour_data,
  84. crm_phone_code,crm_tenant,crm_tenant_config,im_campaign_allot_rule,im_campaign_allot_rule_detail,im_campaign_extract_rule,im_campaign_extract_rule_detail,
  85. im_campaign_result,im_chat_message,im_config_overtime_config,im_config_quick_reply_attachment,im_config_reception_config,im_context_history,
  86. im_context_quality_model_log,im_context_quality_task,im_context_quality_task_log,im_taboo_record,saa_tenant_button,saa_tenant_menu,service_record_summary_byday,
  87. smt_config_industry,smt_dialog_answer,smt_knowledge_question,smt_knowledge_reply,smt_phone_config,smt_produce,smt_produce_process,smt_robot_back,
  88. smt_robot_current,smt_robot_exon,smt_robot_penetrant,smt_robot_queue,smt_robot_task,smt_task_intention,smt_task_log,smt_task_template,
  89. smt_workorder_template_element,sys_operation_log,zuul_client_relation,zuul_gateway,zuul_rate_limit"