docker run command, or compose it alongside your application, database, and other services using a standard docker-compose.yml.
Quick start
Pull the latest image and expose both the RESP2 port and the dashboard:http://localhost:8080 for the live dashboard and connect on port 6379 with any Redis client.
With persistence
By default, Cache-Pot persists data tocache-pot.snapshot in the working directory inside the container. Mount a named volume so your data survives container restarts and image updates:
With authentication
Set a password using theCACHEPOT_AUTH environment variable. Any Redis client that connects must then call AUTH <password> before issuing other commands:
Docker Compose
The followingdocker-compose.yml brings up Cache-Pot with persistence, authentication, and semantic caching enabled. Environment variables for secrets are read from your shell or a .env file so credentials never live in the Compose file itself.
docker-compose.yml
Environment variables reference
Every Cache-Pot option is available as aCACHEPOT_* environment variable. Each one mirrors a CLI flag of the same shape.
CACHEPOT_EMBED_URL and CACHEPOT_EMBED_KEY are only needed if you plan to use SCACHE.GET / SCACHE.SET or the MCP search tool. All other features work without an embeddings provider.