diff --git a/layout-server/pom.xml b/layout-server/pom.xml index 32570e8ee..f1ab238a2 100644 --- a/layout-server/pom.xml +++ b/layout-server/pom.xml @@ -28,13 +28,22 @@ test - org.projectlombok - lombok - true + org.springframework.boot + spring-boot-starter-web org.springframework.boot - spring-boot-starter-web + spring-boot-starter-data-jpa + + + com.h2database + h2 + runtime + + + org.projectlombok + lombok + true org.springdoc diff --git a/layout-server/src/main/resources/application.properties b/layout-server/src/main/resources/application.properties index 8b1378917..f95f5b025 100644 --- a/layout-server/src/main/resources/application.properties +++ b/layout-server/src/main/resources/application.properties @@ -1 +1,7 @@ - +spring.datasource.url=jdbc:h2:file:/data/layout +spring.datasource.driverClassName=org.h2.Driver +spring.datasource.username=sa +spring.datasource.password=password +spring.jpa.database-platform=org.hibernate.dialect.H2Dialect +spring.h2.console.enabled=true +server.port=8081 \ No newline at end of file