Skip to main content
The Sluice agent is configured entirely via environment variables. There is no config file.

Required environment variables

These three variables must be set. The agent refuses to start if any are missing. If any required variable is missing, the agent exits with an error listing every missing variable and a link to the troubleshooting docs.

Optional environment variables

Full example

Docker

Docker Compose

Validation

The agent validates configuration at startup:
  1. Presence check — all three required variables must be non-empty.
  2. URL format check — both SLUICE_REDIS_URL and SLUICE_API_URL must be valid URLs with a scheme (e.g., redis://, https://).
If validation fails, the agent prints a structured error message and exits with a non-zero status code. The error message includes a link to the relevant troubleshooting page.

Health endpoint

The agent exposes a health check endpoint at the address configured by SLUICE_HEALTH_ADDR (default :8081). Use this for Kubernetes liveness/readiness probes:

Broker support

The agent requires Redis. RabbitMQ and other AMQP brokers are not supported in V0. The agent reads Celery events via Redis PUB/SUB and polls queue depths via Redis LLEN — these mechanisms don’t exist in AMQP. If your Celery deployment uses RabbitMQ, use the Python SDK instead.