diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 82961ac..a38ee38 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1 +1,21 @@ -spring.application.name=CatchStudy +server: + port: 8080 + +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://${DB_IP}:${DB_PORT}/${DB_NAME} + username: ${DB_USER} + password: ${DB_PASSWORD} + + jpa: + hibernate: + ddl-auto: update + show-sql: true + database: mysql + database-platform: org.hibernate.dialect.MySQL8Dialect + open-in-view: false + generate-ddl: true + properties: + hibernate: + format_sql: true \ No newline at end of file