Skip to content

Commit

Permalink
docker-image.yml 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yooonwodyd committed Dec 21, 2023
1 parent 6f20168 commit a27b7ff
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,3 @@ out/
### VS Code ###
.vscode/



src/main/resources/application-jwt.yaml
src/main/resources/application-kakao.yaml
src/main/resources/application-rds.yaml
src/main/resources/static/index.html
2 changes: 2 additions & 0 deletions src/main/resources/application-jwt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jwt:
secret: ${JWT_SECRET}
3 changes: 3 additions & 0 deletions src/main/resources/application-kakao.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kakao:
clientId: ${KAKAO_CLIENT_ID}
redirectUrl: ${KAKAO_REDIRECT_URL}
20 changes: 20 additions & 0 deletions src/main/resources/application-rds.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#spring:
# datasource:
# url: jdbc:mariadb://database-1.ctw2wa3jmufy.ap-northeast-2.rds.amazonaws.com:3306/happynew
# driver-class-name: org.mariadb.jdbc.Driver
# username: admin
# password: dbswodyd91

#spring:
# datasource:
# url: jdbc:mariadb://localhost:3306/chris
# driver-class-name: org.mariadb.jdbc.Driver
# username: root
# password: root
#
spring:
datasource:
url: jdbc:mariadb://happy-new-year.cp3aplx9qafk.ap-northeast-2.rds.amazonaws.com/happy_new_year
driver-class-name: org.mariadb.jdbc.Driver
username: ${RDS_USERNAME}
password: ${RDS_PASSWORD}

0 comments on commit a27b7ff

Please sign in to comment.