1 Star 0 Fork 0

悟空 / spring-cloud

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config-dept.yml 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
悟空 提交于 2020-12-09 14:45 . 3
spring:
profiles:
active: dev
---
server:
port: 8001
# mybatis配置
mybatis:
type-aliases-package: com.wei.springCloud.pojo
config-location: classpath:mybatis/mybaits-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
# spring的配置
spring:
profiles: dev
application:
name: springCloud-config-dept
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: org.gjt.mm.mysql.Driver
url: jdbc:mysql://localhost:3306/db01?useSSL=false&useUnicode=true&characterEncoding=utf8
username: root
password: 123456
# EUREKA的配置 服务注册到哪里
eureka:
client:
service-url:
defaultZone: http://localhost:7001/eureka/
instance:
instance-id: springcloud-provider-dept8001
# info配置
info:
app.name: wukong-springcloud
company.name: blog.wukong.com
---
server:
port: 8001
# mybatis配置
mybatis:
type-aliases-package: com.wei.springCloud.pojo
config-location: classpath:mybatis/mybaits-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
# spring的配置
spring:
profiles: test
application:
name: springCloud-config-dept
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: org.gjt.mm.mysql.Driver
url: jdbc:mysql://localhost:3306/db02?useSSL=false&useUnicode=true&characterEncoding=utf8
username: root
password: 123456
# EUREKA的配置 服务注册到哪里
eureka:
client:
service-url:
defaultZone: http://localhost:7001/eureka/
instance:
instance-id: springcloud-provider-dept8001
# info配置
info:
app.name: wukong-springcloud
company.name: blog.wukong.com
Java
1
https://gitee.com/wei11230818/spring-cloud.git
git@gitee.com:wei11230818/spring-cloud.git
wei11230818
spring-cloud
spring-cloud
master

搜索帮助