1 Star 0 Fork 0

王华耀 / springcloud-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config-dept.yml 1.76 KB
一键复制 编辑 原始数据 按行查看 历史
王华耀 提交于 2020-12-11 16:57 . update config-dept.yml.
spring:
profiles:
active: dev
---
server:
port: 8001
spring:
profiles: dev
application:
name: springcloud-config-dept
datasource:
url: jdbc:mysql://localhost:3306/db03?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: 123
mybatis:
type-aliases-package: com.why.springcloud.pojo
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-dept8001 # 修改Eureka上的默认描述
# info的配置
info:
app.name: why.springcloud
company.name: why.study.com
---
server:
port: 8001
spring:
profiles: test
application:
name: springcloud-config-dept
datasource:
url: jdbc:mysql://localhost:3306/db02?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: 123
mybatis:
type-aliases-package: com.why.springcloud.pojo
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-dept8001 # 修改Eureka上的默认描述
# info的配置
info:
app.name: why.springcloud
company.name: why.study.com
Java
1
https://gitee.com/wanghuayao1244/springcloud-config.git
git@gitee.com:wanghuayao1244/springcloud-config.git
wanghuayao1244
springcloud-config
springcloud-config
master

搜索帮助