【springspring boot的配置文件application.yml】眼前多少难甘事,自古男儿当自强。这篇文章主要讲述springspring boot的配置文件application.yml相关的知识,希望能为你提供帮助。
spring:
datasource:
#本地库
url: jdbc:mysql://192.168.18.7:3306/shiptrackersmart?useUnicode=true& characterEncoding=utf-8& zeroDateTimeBehavior=convertToNull
#正式库
#url: jdbc:mysql://192.168.3.141:3306/shiptrackersmart?useUnicode=true& characterEncoding=utf-8& zeroDateTimeBehavior=convertToNull
username: root
password: root
driver-class-name: com.mysql.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
druid:
max-active: 20
initial-size: 1
min-idle: 3
max-wait: 60000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
test-while-idle: true
test-on-borrow: false
test-on-return: false
thymeleaf:
prefix: classpath:/template/
suffix: .html
mode: LEGACYHTML5
encoding: UTF-8
cache: false
mybatis:
mapperLocations: classpath*:net/huadong/mapper/*/*.xml
configLocation: classpath:mybatis-config.xml
#server:
#port: 80
kaptcha:
session:
key: kaptcha.code
obscurificator:
impl: com.google.code.kaptcha.impl.ShadowGimpy
noise:
impl: com.google.code.kaptcha.impl.NoNoise
image:
width: 90
height: 33
textproducer:
font:
size: 26
color: black
char:
length: 4
space: 5
background:
clear:
from: 247,247,247
to: 247,247,247
推荐阅读
- Android中对文件的读写进行操作
- android狼人杀源码,桌面源码,猎豹快切源码
- 咏南WEB APP开发框架
- Android 判断app是否安装
- Dapper扩展SQL跟踪及全局缓存通知
- 使用application作用域实现(当用户重复登录时,挤掉原来的用户)
- 趣头条系统APP开发
- NetAppsystem manager使用域用户访问
- Android 为控件添加点击涟漪效果