refactor(all): 优化配置文件,增加一个随机端口的配置
同一个配置文件里用横线分割的写法实际不生效
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
eureka:
|
||||
instance:
|
||||
hostname: localhost
|
||||
prefer-ip-address: true
|
||||
instance-id: ${spring.application.name}-${eureka.instance.hostname}-${random.uuid}-${datetime}
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://localhost:35670/eureka/
|
||||
Reference in New Issue
Block a user