chore: establish iteration 1 development baseline
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: ${LAB_DB_URL:jdbc:postgresql://localhost:55432/labtimesheet}
|
||||
username: ${LAB_DB_USERNAME:labtimesheet}
|
||||
password: ${LAB_DB_PASSWORD:labtimesheet_dev}
|
||||
mail:
|
||||
host: ${LAB_SMTP_HOST:localhost}
|
||||
port: ${LAB_SMTP_PORT:1025}
|
||||
@@ -1,3 +1,10 @@
|
||||
spring:
|
||||
application:
|
||||
name: labtimesheet
|
||||
profiles:
|
||||
default: dev
|
||||
docker:
|
||||
compose:
|
||||
enabled: false
|
||||
jpa:
|
||||
open-in-view: false
|
||||
|
||||
@@ -3,9 +3,11 @@ package com.lab.labtimesheet;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.test.context.ActiveProfiles;
|
||||
|
||||
@Import(TestcontainersConfiguration.class)
|
||||
@SpringBootTest
|
||||
@ActiveProfiles("test")
|
||||
class LabtimesheetApplicationTests {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -12,7 +12,7 @@ class TestcontainersConfiguration {
|
||||
@Bean
|
||||
@ServiceConnection
|
||||
PostgreSQLContainer postgresContainer() {
|
||||
return new PostgreSQLContainer(DockerImageName.parse("postgres:latest"));
|
||||
return new PostgreSQLContainer(DockerImageName.parse("postgres:18.4"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
spring:
|
||||
docker:
|
||||
compose:
|
||||
enabled: false
|
||||
Reference in New Issue
Block a user