Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,22 @@ spring:
jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: update # 개발용: 시작할 때 테이블 생성, 종료할 때 삭제
ddl-auto: create-drop # 개발용: 시작할 때 테이블 생성, 종료할 때 삭제 / db_dev 에러 방지용으로 upsdate->create-drop 변경
properties:
hibernate:
format_sql: true
show_sql: true

cloud:
aws:
region:
static: ap-northeast-2
stack:
auto: false
credentials:
access-key: ${AWS_ACCESS_KEY_ID:dummy} # 로컬용 더미값
secret-key: ${AWS_SECRET_ACCESS_KEY:dummy}

# Swagger 설정
springdoc:
api-docs:
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ spring:
properties:
hibernate:
show_sql: false
cloud:
aws:
region:
static: ap-northeast-2
stack:
auto: false

springdoc:
swagger-ui:
Expand Down