Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: 환경변수 관리를 위한 서브모듈 구성 #19

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading