18. Database Configuration (#1)

This commit is contained in:
Art
2021-09-04 10:40:28 +03:00
parent 3a53a814ec
commit 6526fddf65
2 changed files with 45 additions and 0 deletions

View File

@ -1 +1,22 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://mysql:3306/support-portal
username: support_portal_user
password: support_portal_password
jpa:
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL8Dialect
---
spring:
config:
activate:
on-profile: local
datasource:
url: jdbc:mysql://localhost:23306/support-portal
jpa:
show-sql: true