server:
   port: 0

spring:
   application:
      name: catalog-service
   h2:
      console:
         enabled: true
         settings:
            web-allow-others: true
         path: /h2-console
   jpa:
      hibernate:
         ddl-auto: create-drop
      show-sql: true
      generate-ddl: true
      database: h2
      defer-datasource-initialization: true
   datasource:
      driver-class-name: org.h2.Driver
      url: jdbc:h2:mem:testdb

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


