Self-Hosted POC Environments
A POC (proof-of-concept) runs the entire Confident AI stack on a single machine with Docker Compose, using the confident-compose repository. It bundles the app together with its Postgres, Redis, ClickHouse, and object storage, so you can try the product against your own data before provisioning any cloud infrastructure.
What you need
- A host with Docker and Docker Compose: a laptop, a VM, or an on-prem server.
- From Confident AI: access to the
confident-composerepository, credentials to pull the container images, and aCONFIDENT_LICENSE_KEY. Ask the platform team for all three. - An LLM provider key (for example
OPENAI_API_KEY) if you want to run evaluations.
Deploy
Clone confident-compose
Once Confident AI has granted access:
git clone https://github.com/confident-ai/confident-compose cd confident-composeConfigure the environment
Copy the example environment file and fill it in:
cp .env.example .envSet your
CONFIDENT_LICENSE_KEY, your LLM provider key, and the image registry login Confident AI gave you. The repository README lists every variable and its default.Start the stack
docker compose up -dThis brings up the app along with Postgres, Redis, ClickHouse, and object storage on the single host. Give it a minute to become healthy:
docker compose psOpen the app
Open
http://localhost:3000and sign in. To reach it from elsewhere, put it behind your existing VPN or an internal load balancer.
Limitations
A POC trades production hardening for speed:
- No high availability. One host, no failover, no redundancy.
- Datastores are not production-grade. Postgres, Redis, and ClickHouse run as single containers with no backups or replication.
- No persistence guarantees. Data lives with the containers unless you configure volumes.
- Reduced surface. Managed secrets, managed Redis, and the cloud code executor are not part of a Compose setup.
Moving to production
When the POC has proven the fit, deploy on your cloud. Each guide provisions managed Kubernetes, a managed database, backed-up storage, keyless identity, and horizontal scaling.
Last updated on