Skip to content

Commit

Permalink
feat: application.yml 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
eple0329 committed Jul 31, 2024
1 parent d916311 commit c081921
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

spring:
profiles:
active: swagger,redis
datasource:
url: ${MYSQL_URL:jdbc:mysql://localhost}:${MYSQL_PORT:3306}/${MYSQL_SCHEMA:dev}
driver-class-name: com.mysql.cj.jdbc.Driver
username: ${MYSQL_USERNAME:root}
password: ${MYSQL_PASSWORD:1234}
jpa:
hibernate:
ddl-auto: update
show-sql: true
properties:
hibernate:
format_sql: true
use_sql_comments: true
logging:
level:
org:
hibernate:
type:
descriptor:
sql: trace

0 comments on commit c081921

Please sign in to comment.