Skip to content

Commit

Permalink
feat: yml 파일들에 secret manager 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
pminsung12 committed Sep 8, 2024
1 parent ec957c4 commit f1fc276
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 3 deletions.
3 changes: 3 additions & 0 deletions application/src/main/resources/application-jwt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
spring:
jwt:
secret: ${JWT_SECRET}
2 changes: 2 additions & 0 deletions application/src/main/resources/application-monitoring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
loki:
url: ${LOKI_URL}
10 changes: 10 additions & 0 deletions application/src/main/resources/application-oauth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
oauth:
kakaoClientId: ${KAKAO_CLIENT_ID}
kakaoAuthTokenUrlHost: ${KAKAO_AUTH_TOKEN_URL_HOST}
kakaoAuthUserUrlHost: ${KAKAO_AUTH_USER_URL_HOST}
kakaoRedirectUrl: ${KAKAO_REDIRECT_URL}
googleClientId: ${GOOGLE_CLIENT_ID}
googleClientSecret: ${GOOGLE_CLIENT_SECRET}
googleRedirectUrl: ${GOOGLE_REDIRECT_URL}
googleAuthTokenUrlHost: ${GOOGLE_AUTH_TOKEN_URL_HOST}
googleUserUrlHost: ${GOOGLE_AUTH_USER_URL_HOST}
2 changes: 2 additions & 0 deletions application/src/main/resources/application-sentry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sentry:
dsn: ${SENTRY_DSN}
9 changes: 9 additions & 0 deletions infrastructure/src/main/resources/application-aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
aws:
s3:
accessKey: ${AWS_ACCESS_KEY}
secretKey: ${AWS_SECRET_KEY}
bucketName: ${S3_BUCKET_NAME}
basicProfileImageUrl: ${S3_BASIC_PROFILE_IMAGE_URL}
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT}
6 changes: 3 additions & 3 deletions infrastructure/src/main/resources/application-jpa.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
spring:
datasource:
url: jdbc:mysql://localhost:3306/spot
username: test1234
password: test1234
url: ${DB_URL}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

jpa:
Expand Down
2 changes: 2 additions & 0 deletions infrastructure/src/main/resources/application-mixpanel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mixpanel:
token: ${MIXPANEL_TOKEN}

0 comments on commit f1fc276

Please sign in to comment.