Skip to content

Commit

Permalink
app 야몰파일 추가
Browse files Browse the repository at this point in the history
CI 코드 수정 및 application.yml 파일 수정
  • Loading branch information
PokingTeemo committed Oct 23, 2024
1 parent 01c5218 commit 5ba7d6b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
MYSQL_PASSWORD: ${{ secrets.DB_PASSWORD }}
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping -h localhost" --health-interval=10s --health-timeout=5s --health-retries=3
options: --health-cmd="mysqladmin ping -h localhost" --health-interval=10s --health-timeout=5s --health-retries=10

steps:
# 소스 코드 체크아웃
Expand Down
14 changes: 14 additions & 0 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
spring:
config:
activate:
on-profile: dev
datasource:
url: ${SPRING_DATASOURCE_URL}
username: ${SPRING_DATASOURCE_USERNAME}
password: ${SPRING_DATASOURCE_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
hibernate:
ddl-auto: create # 필요에 따라 update, validate, none 등으로 변경
show-sql: true # SQL 쿼리 로그를 보고 싶으면 true로 설정
database-platform: org.hibernate.dialect.MySQL8Dialect

0 comments on commit 5ba7d6b

Please sign in to comment.