diff --git a/animory/src/main/resources/application-production.yml b/animory/src/main/resources/application-production.yml index 0fe06fdd..6d27361f 100644 --- a/animory/src/main/resources/application-production.yml +++ b/animory/src/main/resources/application-production.yml @@ -11,15 +11,14 @@ spring: # DB datasource: - url: jdbc:h2:mem:test;MODE=MySQL - driver-class-name: org.h2.Driver - username: sa - password: - h2.console.enabled: true + url: ${DATABASE_URL}?allowPublicKeyRetrieval=true&useSSL=false + driver-class-name: com.mysql.cj.jdbc.Driver + username: ${DATABASE_USERNAME} + password: ${DATABASE_PASSWORD} jpa: show-sql: true open-in-view: false - hibernate.ddl-auto: create + hibernate.ddl-auto: update properties: hibernate.format_sql: true