spzx/spzx-manager/target/classes/application.yml

41 lines
1.2 KiB
YAML
Raw Normal View History

server:
port: 8501
spring:
application:
name: service-spzx
profiles:
active: dev
main:
allow-bean-definition-overriding: true
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
username: ${bunny.datasource.username}
password: "${bunny.datasource.password}"
data:
redis:
host: ${bunny.redis.host}
port: ${bunny.redis.port}
database: ${bunny.redis.database}
logging:
level:
com.atguigu.mapper: debug
com.atguigu.controller: info
com.atguigu.service: info
com.github.pagehelper: debug
pattern:
dateformat: HH:mm:ss:SSS
file:
path: " logs/${spring.application.name}"
mybatis:
type-aliases-package: com.atguigu.spzx.model
mapper-locations: classpath:mapper/*.xml
config-location: classpath:mybatis-config.xml
# configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# map-underscore-to-camel-case: true
# auto-mapping-behavior: full