diff --git a/playwithme/src/main/resources/application-dev.yml b/playwithme/src/main/resources/application-dev.yml index 9d41648..c7c80e8 100644 --- a/playwithme/src/main/resources/application-dev.yml +++ b/playwithme/src/main/resources/application-dev.yml @@ -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: diff --git a/playwithme/src/main/resources/application-prod.yml b/playwithme/src/main/resources/application-prod.yml new file mode 100644 index 0000000..2480af2 --- /dev/null +++ b/playwithme/src/main/resources/application-prod.yml @@ -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" + diff --git a/playwithme/src/main/resources/application.yml b/playwithme/src/main/resources/application.yml index c6d073d..48f4468 100644 --- a/playwithme/src/main/resources/application.yml +++ b/playwithme/src/main/resources/application.yml @@ -1,4 +1,4 @@ -#Database +# 공통 spring: profiles: include: @@ -6,10 +6,6 @@ spring: 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: