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:
default-zone: http://localhost:8761/eureka
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:
default-zone: http://localhost:8761/eureka
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:
default-zone: http://localhost:8761/eureka
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:
server:
git:
defaultLabel: "eureka"
defaultLabel: multiple-instantces
uri: https://git.gzcode.xyz/atancito/MicroservicesTutorial
searchPaths: config-data
username: ${GIT_USER}
password: ${GIT_PASSWORD}
application:
name: config-service