代码拉取完成,页面将自动刷新
#当前的服务名称
spring:
profiles:
active: dev #激活dev配置环境
---
server:
port: 8001
spring:
profiles: dev_8001
datasource:
type: com.alibaba.druid.pool.DruidDataSource
password: root
username: root
url: jdbc:mysql://localhost:3306/study_springcloud?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
driver-class-name: org.gjt.mm.mysql.Driver
application:
name: springcloud_provider_config
#Mybaits
mybatis:
type-aliases-package: cn.jdx.entity
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
# Eureka 配置: 将此服务注册到7001端口的Eureka注册中心中
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_config
hostname: localhost #修改默认链接地址(机器名称)
# 随意添加的配置信息
info:
app.name: aigamejxb.cn
company.name: Ailiyun
#引入 actuator 组件:需要声明导出的接口
management:
endpoints:
web:
exposure:
exclude: "*"
---
server:
port: 8001
spring:
profiles: test_8001
datasource:
type: com.alibaba.druid.pool.DruidDataSource
password: root
username: root
url: jdbc:mysql://localhost:3306/study_springcloud?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
driver-class-name: org.gjt.mm.mysql.Driver
application:
name: springcloud_provider_config_test
#Mybaits
mybatis:
type-aliases-package: cn.jdx.entity
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
# Eureka 配置: 将此服务注册到7001端口的Eureka注册中心中
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_config
hostname: localhost #修改默认链接地址(机器名称)
# 随意添加的配置信息
info:
app.name: aigamejxb.cn
company.name: Ailiyun
#引入 actuator 组件:需要声明导出的接口
management:
endpoints:
web:
exposure:
exclude: "*"
---
server:
port: 8002
spring:
profiles: dev_8002
datasource:
type: com.alibaba.druid.pool.DruidDataSource
password: root
username: root
url: jdbc:mysql://localhost:3306/study_springcloud02?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
driver-class-name: org.gjt.mm.mysql.Driver
application:
name: springcloud_provider_config
#Mybaits
mybatis:
type-aliases-package: cn.jdx.entity
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
# Eureka 配置: 将此服务注册到7001端口的Eureka注册中心中
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_config
hostname: localhost #修改默认链接地址(机器名称)
# 随意添加的配置信息
info:
app.name: aigamejxb.cn
company.name: Ailiyun
#引入 actuator 组件:需要声明导出的接口
management:
endpoints:
web:
exposure:
exclude: "*"
---
server:
port: 8002
spring:
profiles: test_8002
datasource:
type: com.alibaba.druid.pool.DruidDataSource
password: root
username: root
url: jdbc:mysql://localhost:3306/study_springcloud02?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
driver-class-name: org.gjt.mm.mysql.Driver
application:
name: springcloud_provider_config_test
#Mybaits
mybatis:
type-aliases-package: cn.jdx.entity
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
# Eureka 配置: 将此服务注册到7001端口的Eureka注册中心中
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_config
hostname: localhost #修改默认链接地址(机器名称)
# 随意添加的配置信息
info:
app.name: aigamejxb.cn
company.name: Ailiyun
#引入 actuator 组件:需要声明导出的接口
management:
endpoints:
web:
exposure:
exclude: "*"
---
server:
port: 8003
spring:
profiles: dev_8003
datasource:
type: com.alibaba.druid.pool.DruidDataSource
password: root
username: root
url: jdbc:mysql://localhost:3306/study_springcloud02?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
driver-class-name: org.gjt.mm.mysql.Driver
application:
name: springcloud_provider_config
#Mybaits
mybatis:
type-aliases-package: cn.jdx.entity
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
# Eureka 配置: 将此服务注册到7001端口的Eureka注册中心中
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_config
hostname: localhost #修改默认链接地址(机器名称)
# 随意添加的配置信息
info:
app.name: aigamejxb.cn
company.name: Ailiyun
#引入 actuator 组件:需要声明导出的接口
management:
endpoints:
web:
exposure:
exclude: "*"
---
server:
port: 8003
spring:
profiles: test_8003
datasource:
type: com.alibaba.druid.pool.DruidDataSource
password: root
username: root
url: jdbc:mysql://localhost:3306/study_springcloud03?useSSL=true&useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
driver-class-name: org.gjt.mm.mysql.Driver
application:
name: springcloud_provider_config_test
#Mybaits
mybatis:
type-aliases-package: cn.jdx.entity
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath:mybatis/mapper/*.xml
# Eureka 配置: 将此服务注册到7001端口的Eureka注册中心中
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_config
hostname: localhost #修改默认链接地址(机器名称)
# 随意添加的配置信息
info:
app.name: aigamejxb.cn
company.name: Ailiyun
#引入 actuator 组件:需要声明导出的接口
management:
endpoints:
web:
exposure:
exclude: "*"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。