Spring Cloud로 개발하는 마이크로서비스 애플리케이션 9

목차

Spring Cloud로 개발하는 마이크로서비스 애플리케이션 9

server:
port: 0

spring:
application:
name: user-service
h2:
console:
enabled: true
settings:
web-allow-others: true
datasource:
username: sa
password:
hikari:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:testdb

eureka:
instance:
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
client:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://localhost:8761/eureka

greeting:
message: Welcome to the Simple E-commerce.n
Share