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