加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config-dept.yml 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
fangherui 提交于 2020-09-20 13:19 . 增加配置
spring:
profiles:
active: dev
---
server:
port: 8001
spring:
profiles: dev
application:
name: springcloud-config-dept
datasource:
driver-class-name: org.gjt.mm.mysql.Driver
url: jdbc:mysql://localhost:3306/clouddb01?useEncode=true&characther=utf-8
username: root
password: root
type: com.alibaba.druid.pool.DruidDataSource
mybatis:
type-aliases-package: com.fang.springcloud
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
eureka:
client:
service-url:
defaultZone: http://eureka7001.com:7001/eureka/,http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
instance:
instance-id: springcloud-provider-dept-8001 #修改Eureka上的默认描述信息
info:
app.name: haust-springcloud #项目名称
company.name: com.fang #公司的名称
---
server:
port: 8001
spring:
profiles: dev
application:
name: springcloud-config-dept
datasource:
driver-class-name: org.gjt.mm.mysql.Driver
url: jdbc:mysql://localhost:3306/clouddb02?useEncode=true&characther=utf-8
username: root
password: root
type: com.alibaba.druid.pool.DruidDataSource
mybatis:
type-aliases-package: com.fang.springcloud
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
eureka:
client:
service-url:
defaultZone: http://eureka7001.com:7001/eureka/,http://eureka7002.com:7002/eureka/,http://eureka7003.com:7003/eureka/
instance:
instance-id: springcloud-provider-dept-8001 #修改Eureka上的默认描述信息
info:
app.name: haust-springcloud #项目名称
company.name: com.fang #公司的名称
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化