From 17a3a76054c0ef35ddb17f1bd1b7d05f042714bb Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Fri, 3 Oct 2025 07:57:38 +0200 Subject: [PATCH] fix(backend): Clean-up configurations --- .run/local-server-backend-postgres.run.xml | 13 ------ legalconsenthub-backend/docker-compose.yml | 20 --------- .../main/resources/application-postgres.yaml | 41 ------------------- 3 files changed, 74 deletions(-) delete mode 100644 .run/local-server-backend-postgres.run.xml delete mode 100644 legalconsenthub-backend/docker-compose.yml delete mode 100644 legalconsenthub-backend/src/main/resources/application-postgres.yaml diff --git a/.run/local-server-backend-postgres.run.xml b/.run/local-server-backend-postgres.run.xml deleted file mode 100644 index 2517fa6..0000000 --- a/.run/local-server-backend-postgres.run.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - diff --git a/legalconsenthub-backend/docker-compose.yml b/legalconsenthub-backend/docker-compose.yml deleted file mode 100644 index 7762883..0000000 --- a/legalconsenthub-backend/docker-compose.yml +++ /dev/null @@ -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 diff --git a/legalconsenthub-backend/src/main/resources/application-postgres.yaml b/legalconsenthub-backend/src/main/resources/application-postgres.yaml deleted file mode 100644 index 40884c9..0000000 --- a/legalconsenthub-backend/src/main/resources/application-postgres.yaml +++ /dev/null @@ -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