Skip to content

Commit

Permalink
Merge pull request #31 from TTG-Club/hotfix/update-configuration
Browse files Browse the repository at this point in the history
Hotfix/configuration
  • Loading branch information
ProtectorRTD authored Nov 14, 2024
2 parents 09af8fd + b9f2c3a commit 410f856
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
spring.application.name=ttg.club
spring.main.banner-mode=off

spring.jpa.show-sql=true
spring.jpa.properties.hibernate.use_sql_comments=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.use_sql_comments = true
spring.jpa.properties.hibernate.format_sql = true
spring.jpa.hibernate.ddl-auto = create-drop
spring.jpa.properties.hibernate.boot.allow_jdbc_metadata_access=false
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.properties.hibernate.id.new_generator_mappings = false
spring.jpa.show-sql=true

spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://${dbhost}:${dbport:3306}/${dbname:ttg}?ssl=false&characterEncoding=UTF-8
spring.datasource.username=${dbuser}
spring.datasource.password=${dbpassword}
spring.datasource.username = ${dbuser}
spring.datasource.password = ${dbpassword}

spring.mail.host=smtp.mail.ru
spring.mail.port=465
Expand All @@ -25,4 +27,4 @@ spring.mail.properties.mail.smtp.ssl.enable = true
springdoc.swagger-ui.operationsSorter=method
springdoc.swagger-ui.displayRequestDuration=true

spring.jpa.defer-datasource-initialization=true
spring.jpa.defer-datasource-initialization=true

0 comments on commit 410f856

Please sign in to comment.