Skip to content

Commit

Permalink
#39 feat: 운영용 yml(application-prod.yml) 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ahah525 committed Mar 15, 2023
1 parent 687f1de commit e8c9e1b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
8 changes: 7 additions & 1 deletion playwithme/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# 개발용
# 개발
spring:
datasource:
url: jdbc:mariadb://localhost:3306/playwithme?useUnicode=true&characterEncoding=utf8&serverTimeZone=Asia/Seoul&allowPublicKeyRetrieval=true&useSSL=false
username: root
password: '0114'

oauth2:
kakao:
login:
Expand Down
8 changes: 8 additions & 0 deletions playwithme/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 운영
oauth2:
kakao:
login:
redirect-uri: "http://playwithme.site/member/login/oauth/kakao/callback"
logout:
redirect-uri: "http://playwithme.site/member/logout/oauth/kakao"

6 changes: 1 addition & 5 deletions playwithme/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
#Database
# 공통
spring:
profiles:
include:
- secret # 중요 정보가 담긴 yml
active: dev # 기본 개발 모드 활성화

datasource:
url: jdbc:mariadb://localhost:3306/playwithme?useUnicode=true&characterEncoding=utf8&serverTimeZone=Asia/Seoul&allowPublicKeyRetrieval=true&useSSL=false
username: root
password: '0114'

driver-class-name: org.mariadb.jdbc.Driver

jpa:
Expand Down

0 comments on commit e8c9e1b

Please sign in to comment.