Fixed instance-id

multiple-instantces
atancito 2022-10-02 17:43:00 +02:00
parent 293fa11386
commit a42f289a4d
4 changed files with 4 additions and 6 deletions

View File

@ -7,4 +7,4 @@ eureka:
service-url: service-url:
default-zone: http://localhost:8761/eureka default-zone: http://localhost:8761/eureka
instance: instance:
instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}} instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}

View File

@ -7,4 +7,4 @@ eureka:
service-url: service-url:
default-zone: http://localhost:8761/eureka default-zone: http://localhost:8761/eureka
instance: instance:
instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}} instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}

View File

@ -7,4 +7,4 @@ eureka:
service-url: service-url:
default-zone: http://localhost:8761/eureka default-zone: http://localhost:8761/eureka
instance: instance:
instance-in: ${spring.application.name}:${spring.application.instance_id:${random.value}} instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}

View File

@ -5,10 +5,8 @@ spring:
config: config:
server: server:
git: git:
defaultLabel: "eureka" defaultLabel: multiple-instantces
uri: https://git.gzcode.xyz/atancito/MicroservicesTutorial uri: https://git.gzcode.xyz/atancito/MicroservicesTutorial
searchPaths: config-data searchPaths: config-data
username: ${GIT_USER}
password: ${GIT_PASSWORD}
application: application:
name: config-service name: config-service