Skip to content

Commit

Permalink
yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yooonwodyd committed Dec 22, 2023
1 parent f6f7fc8 commit 21d9996
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Docker build & push
if: contains(github.ref, 'develop')
run: |
docker login -u yooonwodyd00 -p dbswodyd91
docker login -u yooonwodyd00 -p ${{ secrets.DOCKER_PASSWORD }}
docker build -f Dockerfile -t yooonwodyd00/happynewhere_be-app .
docker push yooonwodyd00/happynewhere_be-app
## deploy to develop
Expand Down
16 changes: 1 addition & 15 deletions src/main/resources/application-rds.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
#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:
config:
import: "classpath:env.yml"
datasource:
url: jdbc:mariadb://happy-new-year.cp3aplx9qafk.ap-northeast-2.rds.amazonaws.com/happy_new_year
url: {RDS_URL}
driver-class-name: org.mariadb.jdbc.Driver
username: ${RDS_USERNAME}
password: ${RDS_PASSWORD}

0 comments on commit 21d9996

Please sign in to comment.