-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 설정 파일을 서브모듈로 관리 Co-authored-by: kunsanglee <[email protected]> Co-authored-by: Arachne <[email protected]> Co-authored-by: khabh <[email protected]> * feat: 테스트 설정 파일 추가 Co-authored-by: kunsanglee <[email protected]> Co-authored-by: Arachne <[email protected]> Co-authored-by: khabh <[email protected]> * feat: 도커 파일 내 profile 설정 Co-authored-by: kunsanglee <[email protected]> Co-authored-by: Arachne <[email protected]> Co-authored-by: khabh <[email protected]> * feat: gitflow에 서브 모듈 설정 Co-authored-by: kunsanglee <[email protected]> Co-authored-by: Arachne <[email protected]> Co-authored-by: khabh <[email protected]> --------- Co-authored-by: kunsanglee <[email protected]> Co-authored-by: Arachne <[email protected]> Co-authored-by: khabh <[email protected]>
- Loading branch information
1 parent
880833a
commit ac916e8
Showing
6 changed files
with
41 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "server/src/main/resources/config"] | ||
path = server/src/main/resources/config | ||
url = https://github.com/woowacourse-teams/2024-haeng-dong-config.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
spring: | ||
h2: | ||
console: | ||
enabled: true | ||
path: /h2-console | ||
datasource: | ||
url: jdbc:h2:mem:database | ||
url: jdbc:mysql://localhost:3306/haengdong | ||
username: root | ||
password: 1234 | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
|
||
jpa: | ||
defer-datasource-initialization: true | ||
show-sql: true | ||
hibernate: | ||
ddl-auto: none | ||
properties: | ||
hibernate: | ||
format_sql: true | ||
hibernate: | ||
ddl-auto: create-drop | ||
dialect: org.hibernate.dialect.MySQL8Dialect | ||
format_sql: true | ||
show-sql: true | ||
|
||
--- | ||
|
||
spring: | ||
config: | ||
import: classpath:config/application-dev.yml | ||
activate: | ||
on-profile: dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
spring: | ||
h2: | ||
console: | ||
enabled: true | ||
path: /h2-console | ||
datasource: | ||
url: jdbc:h2:mem:database | ||
jpa: | ||
defer-datasource-initialization: true | ||
show-sql: true | ||
properties: | ||
hibernate: | ||
format_sql: true | ||
hibernate: | ||
ddl-auto: create-drop |