Skip to content

Commit

Permalink
chore: Add test DB config (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
nusuy committed Sep 27, 2023
1 parent fbf63a9 commit 69aa439
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions dev/nusuy/ext-search-batch/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# PORT
server:
port: 8084

# JPA
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: ${SPRING_DATASOURCE_URL}
username: root
password: ${SPRING_DATASOURCE_PASSWORD}
jpa:
database: mysql
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
hibernate:
ddl-auto: create
properties:
hibernate:
format_sql: true

0 comments on commit 69aa439

Please sign in to comment.