@@ -37,10 +37,12 @@ spring:
|
|||||||
name: eureka-service
|
name: eureka-service
|
||||||
|
|
||||||
eureka:
|
eureka:
|
||||||
|
instance:
|
||||||
|
hostname: localhost
|
||||||
client:
|
client:
|
||||||
registerWithEureka: false
|
registerWithEureka: false
|
||||||
fetchRegistry: false
|
fetchRegistry: false
|
||||||
|
serviceUrl:
|
||||||
|
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
|
||||||
datacenter: hel1-dc2
|
datacenter: hel1-dc2
|
||||||
environment: production
|
environment: production
|
||||||
instance:
|
|
||||||
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
|
||||||
|
Reference in New Issue
Block a user