bria 0.1.4

Multi-pipeline job orchestrator
Documentation
# Bria service only. Infra (postgres, rabbitmq, etc.) lives in docker-compose.infra.yml.
# Each scenario restarts this container with a fresh config via run.sh.
# Both compose files share the e2e-net network so bria reaches infra by service name.
services:
  bria:
    image: bria:e2e
    # image is pre-built by run.sh --all before any scenario runs; no build here
    ports:
      - "4000:4000"
    environment:
      BRIA_API_KEY: ${BRIA_API_KEY:-e2e-secret}
      BRIA_E2E_AMQP_URL: ${BRIA_E2E_AMQP_URL:-amqp://bria:bria@rabbitmq:5672}
      BRIA_E2E_PG_URL: ${BRIA_E2E_PG_URL:-postgres://bria:bria@postgres:5432/bria}
      BRIA_E2E_WEBHOOK_SECRET: ${BRIA_E2E_WEBHOOK_SECRET:-test-secret-42}
    volumes:
      - ./Config.toml:/etc/bria/Config.toml:ro
      - ./tmp/bria:/tmp/bria
    healthcheck:
      test: ["CMD-SHELL", "bria ping | grep -q pong"]
      interval: 1s
      timeout: 3s
      retries: 20

networks:
  default:
    name: e2e-net
    external: true