fix(backend): Clean-up configurations

This commit is contained in:
2025-10-03 07:57:38 +02:00
parent ec12bacca5
commit 17a3a76054
3 changed files with 0 additions and 74 deletions

View File

@@ -1,20 +0,0 @@
version: '3.8'
services:
postgres:
image: postgres:17-alpine
container_name: legalconsenthub-postgres
environment:
POSTGRES_DB: legalconsenthub
POSTGRES_USER: legalconsenthub
POSTGRES_PASSWORD: legalconsenthub
ports:
- "5432:5432"
volumes:
- ./postgres-data:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U legalconsenthub -d legalconsenthub"]
interval: 10s
timeout: 5s
retries: 5

View File

@@ -1,41 +0,0 @@
spring:
application:
name: legalconsenthub
datasource:
hikari:
auto-commit: false
url: jdbc:postgresql://localhost:5432/legalconsenthub
username: legalconsenthub
password: legalconsenthub
driver-class-name: org.postgresql.Driver
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
hibernate:
ddl-auto: validate
show-sql: true
properties:
hibernate:
format_sql: true
jdbc:
batch_size: 100
order_inserts: true
enable_lazy_load_no_trans: true
liquibase:
enabled: true
drop-first: false
change-log: classpath:/db/changelog/db.changelog-master.yaml
default-schema: public
sql:
init:
platform: postgresql
logging:
level:
org:
springframework:
security: TRACE
oauth2: TRACE