kernelfoundry.eval_pipeline.celery_appΒΆ
Celery application configuration for the kernelfoundry evaluation pipeline.
Configures a Celery worker app with RabbitMQ as broker and either PostgreSQL or RPC as the result backend. Connection parameters are read from environment variables with sensible defaults for local development.
- Environment variables:
RABBITMQ_IP: RabbitMQ host (default: localhost)
RABBITMQ_USERNAME: RabbitMQ username (default: guest)
RABBITMQ_PASSWORD: RabbitMQ password (default: guest)
QUEUE_BACKEND_TYPE: Set to
postgresqlto use Postgres as result backendQUEUE_BACKEND_IP: Postgres host (default: localhost)
QUEUE_BACKEND_USERNAME: Postgres username (default: admin)
QUEUE_BACKEND_PASSWORD: Postgres password (default: admin)
QUEUE_BACKEND_DB_NAME: Postgres database name (default: queue_metadata)