Skip to main content
Docker is the recommended way to run Bolly on servers or when you want isolated, reproducible deployments with easy updates.

Prerequisites

Quick start

Open http://localhost:26559 in your browser. Bolly will guide you through the initial setup — including entering your API key — right in the web interface.

Docker Compose

For a more manageable setup, use Docker Compose:
docker-compose.yml
Run it:

Managing the container

View logs

Stop Bolly

Start Bolly

Restart after config changes

Remove the container (preserves data)

Updating

Pull the latest image and recreate the container:
Your data is stored in the bolly-data volume and persists across updates. See the full updating guide for version pinning and release channels.

Custom port

To run Bolly on a different port, change the host port mapping:
Bolly would then be available at http://localhost:3000.

Running behind a reverse proxy

If running Bolly behind Nginx, Caddy, or another reverse proxy, ensure WebSocket support is enabled — Bolly uses WebSockets for real-time communication. Example Nginx config:

Next steps

Configuration

Customize personality, heartbeat, and memory settings.

API Keys

Learn about optional integrations beyond the Anthropic key.