menghang-base-gen/src/main/resources/bootstrap.yml

32 lines
745 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Tomcat
server:
port: 9202
# Spring
spring:
application:
# 应用名称
name: bawei-gen
profiles:
# 环境配置
active: dev
cloud:
nacos:
discovery:
# 服务注册地址
server-addr: 192.168.111.133:8848
config:
# 配置中心地址
server-addr: 192.168.111.133:8848
# 配置文件格式
file-extension: yml
# 共享配置
shared-configs:
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
# mybatis配置
mybatis:
# 搜索指定包别名
typeAliasesPackage: com.bawei.gen.domain
# 配置mapper的扫描找到所有的mapper.xml映射文件
mapperLocations: classpath:mapper/**/*.xml