1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- ################ 开发环境配置 ################
- # 端口
- server:
- port: 10041
- spring:
- # 数据源配置
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- url: jdbc:mysql://127.0.0.1:3306/xmnk-sso?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=UTC
- username: root
- password: root
- # 是否打开sql监控台 (生产环境请务必关闭此选项)
- druid:
- stat-view-servlet:
- enabled: true
- web-stat-filter:
- enabled: true
- filter:
- config:
- enabled: true
- # redis配置
- redis:
- # Redis数据库索引(默认为0)
- database: 1
- # Redis服务器地址
- host: 127.0.0.1
- # Redis服务器连接端口
- port: 6379
- # Redis服务器连接密码(默认为空)
- # password:
- # 连接超时时间
- timeout: 10s
- lettuce:
- pool:
- # 连接池最大连接数
- max-active: 200
- # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: -1ms
- # 连接池中的最大空闲连接
- max-idle: 10
- # 连接池中的最小空闲连接
- min-idle: 0
-
- # 项目自定义配置
- myconfig:
- # 本项目部署到的服务器域名(文件上传等等模块 要用到)
- # domain: http://127.0.0.1:10041
- domain: http://192.168.12.123:10041
|