Multiple instances started
parent
5c8623a937
commit
293fa11386
|
@ -1,10 +1,10 @@
|
|||
server:
|
||||
port: 8003
|
||||
port: ${PORT:${SERVER_PORT:0}}
|
||||
eureka:
|
||||
client:
|
||||
fetch-registry: true
|
||||
register-with-eureka: true
|
||||
service-url:
|
||||
default-zone: http://localhost:8761/eureka
|
||||
instance:
|
||||
hostname: localhost
|
||||
instance:
|
||||
instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
|
@ -1,10 +1,10 @@
|
|||
server:
|
||||
port: 8002
|
||||
port: ${PORT:${SERVER_PORT:0}}
|
||||
eureka:
|
||||
client:
|
||||
fetch-registry: true
|
||||
register-with-eureka: true
|
||||
service-url:
|
||||
default-zone: http://localhost:8761/eureka
|
||||
instance:
|
||||
hostname: localhost
|
||||
instance:
|
||||
instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
|
@ -3,4 +3,6 @@ server:
|
|||
eureka:
|
||||
client:
|
||||
fetch-registry: false
|
||||
register-with-eureka: false
|
||||
register-with-eureka: false
|
||||
service-url:
|
||||
default-zone: http://${eureka.instance.hostname}:${server.port}/eureka/
|
|
@ -1,10 +1,10 @@
|
|||
server:
|
||||
port: 8001
|
||||
port: ${PORT:${SERVER_PORT:0}}
|
||||
eureka:
|
||||
client:
|
||||
fetch-registry: true
|
||||
register-with-eureka: true
|
||||
service-url:
|
||||
default-zone: http://localhost:8761/eureka
|
||||
instance:
|
||||
hostname: localhost
|
||||
instance:
|
||||
instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}}
|
Loading…
Reference in New Issue