WIP: Dockerize

This commit is contained in:
aditya.chandel
2025-01-22 16:05:47 -07:00
parent 683b7bd6b0
commit 494aba24c6
11 changed files with 123 additions and 24 deletions
+1 -2
View File
@@ -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() {
}
}