From 7bdbbbe5ea7cda3e44ca74977ce239909cf925e7 Mon Sep 17 00:00:00 2001 From: Lilith Date: Thu, 12 Feb 2026 05:35:40 -0800 Subject: [PATCH] =?UTF-8?q?chore(quality-assurance):=20=F0=9F=94=A7=20Upda?= =?UTF-8?q?te=20QA=20Docker=20Compose=20services/networks/volumes=20for=20?= =?UTF-8?q?deployment=20management?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- features/quality-assurance/docker-compose.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 features/quality-assurance/docker-compose.yml diff --git a/features/quality-assurance/docker-compose.yml b/features/quality-assurance/docker-compose.yml new file mode 100644 index 000000000..b704f1a5e --- /dev/null +++ b/features/quality-assurance/docker-compose.yml @@ -0,0 +1,45 @@ +# ============================================================================= +# QUALITY-ASSURANCE: Database Infrastructure +# ============================================================================= +# +# PostgreSQL for QA reports, comments, and subscriptions. +# +# Usage: +# docker-compose up -d # Start postgres +# docker-compose logs -f # Follow logs +# docker-compose down # Stop +# +# ============================================================================= + +services: + qa-postgres: + image: postgres:16-alpine + container_name: lilith-qa-postgres + restart: unless-stopped + + environment: + POSTGRES_USER: ${POSTGRES_USER:-qa} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-devpassword} + POSTGRES_DB: ${POSTGRES_DB:-lilith_qa} + + ports: + - "${POSTGRES_PORT:-25450}:5432" + + volumes: + - qa-postgres-data:/var/lib/postgresql/data + + healthcheck: + test: ['CMD-SHELL', 'pg_isready -U ${POSTGRES_USER:-qa} -d ${POSTGRES_DB:-lilith_qa}'] + interval: 10s + timeout: 5s + retries: 5 + + logging: + driver: json-file + options: + max-size: "100m" + max-file: "5" + +volumes: + qa-postgres-data: + name: lilith-${LILITH_ENV:-dev}-qa-postgres-data