1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- server:
- port: 8001
- eureka:
- client:
- serviceUrl:
- defaultZone: http://admin:admin123@localhost:8761/eureka/eureka/
- spring:
- application:
- name: auth-server
-
- datasource:
- name: test
- url: jdbc:mysql://120.26.238.168:3306/mec_dev?useUnicode=true&characterEncoding=UTF8
- username: mec_dev
- password: mec_dev
- # 使用druid数据源
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- filters: stat
- maxActive: 20
- initialSize: 1
- maxWait: 60000
- minIdle: 1
- timeBetweenEvictionRunsMillis: 60000
- minEvictableIdleTimeMillis: 300000
- validationQuery: select 'x'
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- poolPreparedStatements: true
- maxOpenPreparedStatements: 20
-
- redis:
- host: 120.26.238.168
- port: 6379
- password: ehjinrong
- database: 0
- #连接超时时间(毫秒)
- timeout: 10000
- pool:
- #连接池最大连接数(使用负值表示没有限制)
- max-active: 10
- #连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: -1
- #连接池中的最大空闲连接
- max-idle: 10
- #连接池中的最小空闲连接
- min-idle: 0
-
-
- mybatis:
- mapperLocations: classpath:config/mybatis/*.xml
-
- swagger:
- base-package: com.ym.mec.auth.controller
-
- #spring boot admin 相关配置
- management:
- endpoints:
- web:
- exposure:
- include: "*"
- endpoint:
- health:
- show-details: ALWAYS
- system:
- #客户端配置
- client:
- clients[0]:
- clientId: lvhaibao
- clientSecret: 123456
- clients[1]:
- clientId: lhb
- clientSecret: 123456
- clients[2]:
- clientId: app
- clientSecret: app
- social:
- qq:
- app-id: xxxx
- app-secret: xxxx
- providerId: callback.do
- filterProcessesUrl: /qqLogin
- weixin:
- app-id: xxxx
- app-secret: xxxxx
|