36 lines
658 B
YAML
36 lines
658 B
YAML
|
|
spring:
|
||
|
|
application:
|
||
|
|
name: gc-guide-api
|
||
|
|
|
||
|
|
# 프로필별 DB 설정
|
||
|
|
profiles:
|
||
|
|
active: ${SPRING_PROFILES_ACTIVE:local}
|
||
|
|
|
||
|
|
jpa:
|
||
|
|
open-in-view: false
|
||
|
|
properties:
|
||
|
|
hibernate:
|
||
|
|
format_sql: true
|
||
|
|
|
||
|
|
server:
|
||
|
|
port: ${SERVER_PORT:8080}
|
||
|
|
|
||
|
|
# 앱 설정
|
||
|
|
app:
|
||
|
|
jwt:
|
||
|
|
secret: ${JWT_SECRET:gc-guide-dev-jwt-secret-key-must-be-at-least-256-bits-long}
|
||
|
|
expiration-ms: ${JWT_EXPIRATION:86400000} # 24시간
|
||
|
|
google:
|
||
|
|
client-id: ${GOOGLE_CLIENT_ID:}
|
||
|
|
allowed-email-domain: gcsc.co.kr
|
||
|
|
|
||
|
|
# Actuator
|
||
|
|
management:
|
||
|
|
endpoints:
|
||
|
|
web:
|
||
|
|
exposure:
|
||
|
|
include: health,info
|
||
|
|
endpoint:
|
||
|
|
health:
|
||
|
|
show-details: when-authorized
|