码迷,mamicode.com
首页 > 移动开发 > 详细

【spring】spring boot的配置文件application.yml

时间:2017-10-25 13:55:28      阅读:252      评论:0      收藏:0      [点我收藏+]

标签:session   shadow   pat   lib   ack   idle   false   gimp   producer   

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

【spring】spring boot的配置文件application.yml

标签:session   shadow   pat   lib   ack   idle   false   gimp   producer   

原文地址:http://www.cnblogs.com/CESC4/p/7728403.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!