Files
spring-jwt/notification-service/src/main/resources/application.yml
hoon7566 47491f3245 feat(order-service): order-service feign 통신
- store-service와 feign 통신 코드 작성
2022-03-14 21:16:28 +09:00

43 lines
888 B
YAML

server.port: 0
spring:
application:
name: notification-service
config:
import: optional:configserver:http://127.0.0.1:8888
cloud:
config:
name: service
datasource:
url: jdbc:postgresql://localhost:5432/notificationdb
driver-class-name: org.postgresql.Driver
username: postgres
password: admin
jpa:
hibernate:
ddl-auto: create-drop
generate-ddl: true
open-in-view: false
properties:
hibernate:
default_batch_fetch_size: 1000
eureka:
client:
service-url:
defalutZone: http://localhost:8761/eureka
fetch-registry: true
register-with-eureka: true
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
logging:
level:
com.justpickup: DEBUG
# jpa query, parameter 로그 (p6spy)
decorator.datasource.p6spy:
enable-logging: true