Skip to content

Commit

Permalink
cd(deploy): docker 컨테이너에서 DB정보를 읽기 위한 파일 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
Leegiyeon committed Jun 6, 2024
1 parent 8a4a505 commit d1866b0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
spring:
datasource:
url: ${{ secrets.DB_URL }}
username: ${{ secrets.DB_USER }}
password: ${{ secrets.DB_PASSWORD }}
driver-class-name: org.mariadb.jdbc.Driver
jpa:
hibernate:
ddl-auto: update
show-sql: true
database-platform: org.hibernate.dialect.MySQL5Dialect

0 comments on commit d1866b0

Please sign in to comment.