server:
port: 8989
spring:
application:
name: service-oss
profiles:
active: dev
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/myblog?useUnicode=true&characterEncoding=utf-8
username: root
password: 123456
hikari:
pool-name: DateHikariCP
minimum-idle: 5
idle-timeout: 180000
maximum-pool-size: 10
auto-commit: true
max-lifetime: 1800000
connection-timeout: 30000
connection-test-query: SELECT 1
servlet:
multipart:
max-file-size: 1GB
max-request-size: 1GB
mail:
protocol: smtp
host: smtp.163.com
port: 25
username: pmc614039502@163.com
password: CDSQTFQBTGXNHUSK
default-encoding: UTF-8
properties:
mail:
debug: true
redis:
database: 0
host: 47.119.128.150
port: 6379
timeout: 50000
pool:
max-active: 8
max-idle: 8
min-idle: 0
max-wait: -1
mybatis-plus:
mapper-locations: classpath*:/mapper/*Mapper.xml
type-aliases-package: cn.edu.guet.popular_blog.pojo
configuration:
map-underscore-to-camel-case: false
global-config:
db-config:
table-prefix: t_
logging:
level:
cn.edu.guet.popular_blog.mapper: debug