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