代码拉取完成,页面将自动刷新
spring:
profiles:
active:
- dev
---
server:
port: 8002
mybatis:
config-location: classpath:mybatis/mybatis.cfg.xml
type-aliases-package: com.dong.cloud.cloud.bean
mapper-locations:
- classpath:mybatis/mapper/**/*.xml
spring:
profiles: dev
application:
name: microservice-dept #显示名称
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/cloud02?useSSL=false
username: root
password: root
dbcp2:
min-idle: 5
initial-size: 5
max-total: 5
max-wait-millis: 200
eureka:
client:
service-url:
defaultZone: http://eureka1:7007/eureka/,http://eureka2:7008/eureka/,http://eureka3:7009/eureka/
instance:
instance-id: microservice-dept-8002 # 显示别名
prefer-ip-address: true # 访问路径可以显示ip
# info 显示信息
info:
app.name: microservice-cloud
company.name: www.dong
build.artifactId: $project.artifactId$
build.version: $project.version$
---
server:
port: 8002
mybatis:
config-location: classpath:mybatis/mybatis.cfg.xml
type-aliases-package: com.dong.cloud.cloud.bean
mapper-locations:
- classpath:mybatis/mapper/**/*.xml
spring:
profiles: test
application:
name: microservice-dept #显示名称
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/cloud03?useSSL=false
username: root
password: root
dbcp2:
min-idle: 5
initial-size: 5
max-total: 5
max-wait-millis: 200
eureka:
client:
service-url:
defaultZone: http://eureka1:7007/eureka/,http://eureka2:7008/eureka/,http://eureka3:7009/eureka/
instance:
instance-id: microservice-dept-8002 # 显示别名
prefer-ip-address: true # 访问路径可以显示ip
# info 显示信息
info:
app.name: microservice-cloud
company.name: www.dong
build.artifactId: $project.artifactId$
build.version: $project.version$
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。