# Isolated, provider-free operational acceptance; never reads the deployment .env. services: db: image: pgvector/pgvector:pg16 environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: fixture POSTGRES_DB: rag_ops_test ports: ["127.0.0.1:55459:5432"] networks: [default, access] volumes: ["database:/var/lib/postgresql/data"] healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d rag_ops_test"] interval: 2s timeout: 2s retries: 30 migrations: image: rag-phase4-operational:verified build: context: ../.. dockerfile: Dockerfile env_file: ["${ACCEPTANCE_ENV_FILE:?Supply the isolated fixture env file}"] command: alembic upgrade head depends_on: db: {condition: service_healthy} api: image: rag-phase4-operational:verified env_file: ["${ACCEPTANCE_ENV_FILE:?Supply the isolated fixture env file}"] command: python -m app.server --host 0.0.0.0 --port 8000 ports: ["127.0.0.1:18080:8000"] networks: [default, access] volumes: - originals:/app/data/originals - extractions:/app/data/extractions - ${ACCEPTANCE_TLS_DIRECTORY:?Supply fixture TLS directory}/cert.pem:/fixtures/ca.pem:ro depends_on: migrations: {condition: service_completed_successfully} worker: image: rag-phase4-operational:verified env_file: ["${ACCEPTANCE_ENV_FILE:?Supply the isolated fixture env file}"] command: python -m app.worker volumes: - originals:/app/data/originals - extractions:/app/data/extractions - ${ACCEPTANCE_TLS_DIRECTORY:?Supply fixture TLS directory}/cert.pem:/fixtures/ca.pem:ro depends_on: migrations: {condition: service_completed_successfully} embedding: image: rag-phase4-operational:verified command: python /fixtures/phase4_embedding_fixture.py volumes: - ./phase4_embedding_fixture.py:/fixtures/phase4_embedding_fixture.py:ro - ${ACCEPTANCE_TLS_DIRECTORY:?Supply fixture TLS directory}:/fixtures/tls:ro volumes: database: originals: extractions: networks: default: internal: true access: {}