diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 306681c..1cf57c8 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -1,20 +1,20 @@ spring: datasource: - url: jdbc:mysql://${DB_HOST}/${DB_NAME} + url: jdbc:mysql://${DB_HOST}:${DB_PORT}/${DB_NAME} username: ${DB_USERNAME} password: ${DB_PASSWORD} driver-class-name: com.mysql.cj.jdbc.Driver + jpa: hibernate: ddl-auto: ${JPA_HIBERNATE_DDL_AUTO} show-sql: ${JPA_SHOW_SQL} properties: - a: + hibernate: format_sql: ${JPA_FORMAT_SQL} dialect: org.hibernate.dialect.MySQLDialect open-in-view: false - security: oauth2: client: @@ -39,7 +39,7 @@ spring: jwt: header: ${HEADER} - prefix : ${PREFIX} + prefix: ${PREFIX} secret-key: ${JWT_SECRET} access-exp: ${ACCESS_EXP} - refresh-exp: ${REFRESH_EXP} \ No newline at end of file + refresh-exp: ${REFRESH_EXP}