Skip to content

Commit

Permalink
Merge pull request #71 from UMC-TripPiece/ci/ci-cd
Browse files Browse the repository at this point in the history
[refactor] application.yml 수정
  • Loading branch information
StoneCAU authored Sep 20, 2024
2 parents 92083ce + d966180 commit 2a36884
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${DB_URL}
username: ${DB_USER}
password: ${DB_PASSWORD}
url: ${secrets.DB_URL}
username: ${secrets.DB_USER}
password: ${secrets.DB_PASSWORD}

jpa:
hibernate:
Expand Down Expand Up @@ -35,10 +35,10 @@ cloud:
stack:
auto: false
credentials:
accessKey: ${AWS_ACCESS_KEY_ID}
secretKey: ${AWS_SECRET_ACCESS_KEY}
accessKey: ${secrets.AWS_ACCESS_KEY_ID}
secretKey: ${secrets.AWS_SECRET_ACCESS_KEY}

jwt:
secret: ${JWT_KEY}
secret: ${secrets.JWT_KEY}
accessTokenValidity: 7200000 # 2 hour
refreshTokenValidity: 604800000 # 1 week

0 comments on commit 2a36884

Please sign in to comment.