代码拉取完成,页面将自动刷新
同步操作将从 lsy/config-server 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
info:
app:
profiles: dev
name: ucenter
description: ucenter
spring:
application:
name: ucenter
http:
multipart:
max-file-size: 10MB
max-request-size: 20MB
enabled: true
# 消息总线
rabbitmq:
host: localhost
port: 5672
# 向服务监控调用中心暴露端口
# zipkin:
# base-url: http://www.zipkin.com:10020
# 设置服务调用依赖检测的抽样率,默认为0.1.设置成1表示百分百抽样。方便开发调试
sleuth:
sampler:
percentage: 1
mvc:
view:
suffix: .html
profiles:
active: dev
datasource:
druid:
username: root
password: studyj2e
url: jdbc:mysql://127.0.0.1:3317/micro?useUncoide=true&chracterEncoding=utf-8&useSSL=false
sql-path: sql/ucenter.sql
master:
initial-size: 19
username: root
password: studyj2e
url: jdbc:mysql://127.0.0.1:3317/micro?useUncoide=true&chracterEncoding=utf-8&useSSL=false
sql-path: sql/ucenter.sql
driver-class-name: com.mysql.jdbc.Driver
#数据源共用基本配置
driver-class-name: com.mysql.jdbc.Driver
initial-size: 20
max-active: 50
min-idle: 10
max-wait: 1000
pool-prepared-statements: true
test-on-borrow: true
test-while-idle: true
time-between-log-stats-millis: 10000
min-evictable-idle-time-millis: 100000
max-evictable-idle-time-millis: 200000
default-auto-commit: true
filters: stat,wall
#url监控配置
web-stat-filter:
enabled: true
url-pattern: /*
exclusions: /static/*,/druid/*
session-stat-enable: false
stat-view-servlet:
login-username: micro
login-password: fast
reset-enable: true
allow: 127.0.0.1,172.17.0.1
deny: 127.0.0.2
enabled: true
url-pattern: /druid/*
#aop拦截监控
aop-patterns: com.micro.*
#statFilter配置
filter:
stat:
connection-stack-trace-enable: true
db-type: mysql
enabled: true
log-slow-sql: true
merge-sql: true
slow-sql-millis: 2000
aop:
proxy-target-class: true
server:
port: 10010
tomcat:
uri-encoding: utf-8
feign:
hystrix:
enabled: true #开启监控熔断
# 健康检查的相关配置
management:
health:
mail:
enabled: true
redis:
enabled: true
security:
enabled: false #springbooot1.5.*以后如果要使用refresh功能的要设置false
port: 10011
springfox:
documentation:
swagger:
v2:
path: /api/api-doc
# 日志配置
logging:
config: classpath:log4j2-dev.xml
# --------------------------
# 自定义的配置参数
# --------------------------
mybatis:
typeAliasesPackage: com.micro.fast.ucenter.pojo
mappers: classpath*:com/micro/fast/ucenter/mapper/*.xml
pageHelperProperties:
- dialect:mysql
# --------------------------
# /自定义的配置参数
# --------------------------
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。