1 Star 1 Fork 0

lloamhh / springcloud-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config-dept.yml 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
lloamhh 提交于 2021-05-08 20:42 . update config-dept.yml.
spring:
profiles:
active: dev
---
server:
port: 8001
mybatis:
type-aliases-package: com.mao.springcloud.pojo
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
spring:
profiles: dev
application:
name: springcloud-config-dept
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/db03?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8
username: root
password: root
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
prefer-ip-address: true
info:
app.name: lloam-springcloud
company.name: blog.lloam.com
---
server:
port: 8001
mybatis:
type-aliases-package: com.mao.springcloud.pojo
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
spring:
profiles: test
application:
name: springcloud-config-dept
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/db02?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8
username: root
password: root
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
prefer-ip-address: true
info:
app.name: lloam-springcloud
company.name: blog.lloam.com
Java
1
https://gitee.com/lloamhh/springcloud-config.git
git@gitee.com:lloamhh/springcloud-config.git
lloamhh
springcloud-config
springcloud-config
master

搜索帮助