Skip to content

Commit

Permalink
[build]프로파일 기본 형태 작성 (#3)
Browse files Browse the repository at this point in the history
기본적인 프로파일 설정 및 h2 설정
  • Loading branch information
YeaChan05 authored and hwan2-99 committed Feb 6, 2024
1 parent 14244a5 commit e0048ef
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
spring:
h2:
console:
enabled: true
settings:
web-allow-others: true


jpa:
hibernate:
ddl-auto: create
datasource:
username: sa
password:
driver-class-name: org.h2.Driver
File renamed without changes.
1 change: 1 addition & 0 deletions src/main/resources/application-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 6 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# runtime? ??? profile ??
spring:
profiles:
# active: prod
active: dev
# active: test

0 comments on commit e0048ef

Please sign in to comment.