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