Skip to content

Commit

Permalink
Chore | #17 | @lcomment | 환경변수 관리를 위한 서브모듈 구성
Browse files Browse the repository at this point in the history
  • Loading branch information
lcomment committed May 10, 2024
1 parent fb51801 commit 7212914
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "server-secret"]
path = server-secret
url = https://github.com/CAKK-DEV/cakk-server-secret
20 changes: 19 additions & 1 deletion cakk-api/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
storage:
datasource:
core:
jdbc-url: jdbc:mysql://localhost:3306/cakk
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
data-source-properties:
rewriteBatchedStatements: true

oauth:
kakao:
public-key-info: https://kauth.kakao.com/.well-known/jwks.json
apple:
public-key-url: https://appleid.apple.com/auth/keys
google:
client-id: ${GOOGLE_CLIENT_ID}

jwt:
secret: localocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocalocal
expiration:
Expand All @@ -23,4 +41,4 @@ cloud:
ap-northeast-2
stack:
auto:
false
false
18 changes: 0 additions & 18 deletions cakk-api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,11 @@ spring:
enabled: true
baseline-on-migrate: true

storage:
datasource:
core:
jdbc-url: jdbc:mysql://localhost:3306/cakk
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
data-source-properties:
rewriteBatchedStatements: true

decorator:
datasource:
p6spy:
enable-logging: true

oauth:
kakao:
public-key-info: https://kauth.kakao.com/.well-known/jwks.json
apple:
public-key-url: https://appleid.apple.com/auth/keys
google:
client-id: ${GOOGLE_CLIENT_ID}

jwt:
access-header: Authorization
refresh-header: Refresh
Expand Down
1 change: 1 addition & 0 deletions server-secret
Submodule server-secret added at b05901

0 comments on commit 7212914

Please sign in to comment.