41 lines
964 B
YAML
41 lines
964 B
YAML
# Tomcat
|
|
server:
|
|
port: 8886
|
|
# Spring
|
|
spring:
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://182.254.221.163:3306/etl
|
|
username: root
|
|
password: lzz@123
|
|
redis:
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
password:
|
|
application:
|
|
# 应用名称
|
|
name: etl-data-source-service
|
|
profiles:
|
|
# 环境配置
|
|
active: dev
|
|
main:
|
|
# 允许使用循环引用
|
|
allow-circular-references: true
|
|
# 允许定义相同的bean对象 去覆盖原有的
|
|
allow-bean-definition-overriding: true
|
|
cloud:
|
|
nacos:
|
|
discovery:
|
|
# 服务注册地址
|
|
server-addr: 182.254.221.163:8848
|
|
config:
|
|
# 配置中心地址
|
|
server-addr: 182.254.221.163:8848
|
|
# 配置文件格式
|
|
file-extension: yml
|
|
mybatis-plus:
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
type-aliases-package: com.etl.data.source.common.pojo
|
|
mapper-locations: classpath:mappers/*xml
|