configure eureka for server/local
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -1,2 +1,7 @@
|
|||||||
server:
|
server:
|
||||||
port: 8090
|
port: 8090
|
||||||
|
|
||||||
|
eureka:
|
||||||
|
client:
|
||||||
|
service-url:
|
||||||
|
defaultZone: http://localhost:8761/eureka
|
||||||
|
@@ -1,4 +1,9 @@
|
|||||||
eureka:
|
eureka:
|
||||||
|
client:
|
||||||
|
register-with-eureka: true
|
||||||
|
fetch-registry: true
|
||||||
|
service-url:
|
||||||
|
defaultZone: http://eureka-service.web:8761/eureka
|
||||||
instance:
|
instance:
|
||||||
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user