WIP: Dockerize
This commit is contained in:
@@ -3,7 +3,6 @@ plugins {
|
||||
id 'org.springframework.boot' version '3.4.0'
|
||||
id 'io.spring.dependency-management' version '1.1.6'
|
||||
id 'org.hibernate.orm' version '6.6.2.Final'
|
||||
id 'org.graalvm.buildtools.native' version '0.10.3'
|
||||
}
|
||||
|
||||
group = 'com.adityachandel'
|
||||
@@ -33,11 +32,11 @@ dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-websocket'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-quartz'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
||||
implementation 'org.springframework.boot:spring-boot-configuration-processor'
|
||||
|
||||
// Lombok
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
annotationProcessor 'org.projectlombok:lombok'
|
||||
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
|
||||
|
||||
// Database & Flyway
|
||||
implementation 'com.h2database:h2'
|
||||
|
||||
@@ -15,7 +15,7 @@ spring:
|
||||
name: booklore-api
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:tcp://localhost:9092/~/my-library-temp/config/db/booklore
|
||||
url: jdbc:h2:~/my-library-temp/config/db/booklore
|
||||
username: sa
|
||||
password: password
|
||||
jpa:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
app:
|
||||
path-book: '/Users/aditya.chandel/my-library-temp/books'
|
||||
path-config: '/Users/aditya.chandel/my-library-temp/config'
|
||||
path-book: '/app/books'
|
||||
path-config: '/app/config'
|
||||
|
||||
spring:
|
||||
servlet:
|
||||
@@ -15,7 +15,7 @@ spring:
|
||||
name: booklore-api
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
url: jdbc:h2:tcp://localhost:9092/~/my-library-temp/config/db/booklore
|
||||
url: 'jdbc:h2:/app/config/db/booklore'
|
||||
username: sa
|
||||
password: password
|
||||
jpa:
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
package com.adityachandel.booklore;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class BookloreApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user