当前位置:网站首页>How to configure hosts when setting up Eureka

How to configure hosts when setting up Eureka

2022-07-06 16:49:00 Daily enlightenment

(1)yml file

spring:
  profiles: 7900
server:
  port: 7900
eureka:
  instance:
    hostname: eureka-7900

---
spring:
  profiles: 7901
server:
  port: 7901
eureka:
  instance:
    hostname: eureka-7901

---
spring:
  profiles: 7902
server:
  port: 7902
eureka:
  instance:
    hostname: eureka-7902

(2) Configuration information  

原网站

版权声明
本文为[Daily enlightenment]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131314160367.html