Skip to content

Commit

Permalink
hofix: application.yml
Browse files Browse the repository at this point in the history
2hy2on authored Jul 4, 2024
1 parent eaa095b commit d5019d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/spot_db?useSSL=false&allowPublicKeyRetrieval=true
username: root
password: 1226
url: jdbc:mysql://mysql_db:3306/${MYSQL_DATABASE}?useSSL=false&allowPublicKeyRetrieval=true
username: ${MYSQL_USER}
password: ${MYSQL_PASSWORD}

jpa:
hibernate:
@@ -12,4 +12,4 @@ spring:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
show-sql: true
properties:
hibernate.dialect: org.hibernate.dialect.MySQLDialect
hibernate.dialect: org.hibernate.dialect.MySQLDialect

0 comments on commit d5019d3

Please sign in to comment.