spzx/spzx-service/service-product/src/main/resources/application.yml

22 lines
643 B
YAML
Raw Normal View History

server:
port: 8511
spring:
profiles:
active: dev
application:
name: service-product
cloud:
nacos:
server-addr: 192.168.1.5:8848
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}"
mybatis:
config-location: classpath:mybatis-config.xml
mapper-locations: classpath:/mapper/*/*.xml