> ## Documentation Index
> Fetch the complete documentation index at: https://docs.osschat.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Docker Deployment

> Run OpenChat in containers using Docker Compose.

# Docker Deployment

Use Docker when you want container-level control over app and supporting services.

## Basic Flow

<Steps>
  <Step title="Clone and configure">
    ```bash theme={null}
    git clone https://github.com/opencoredev/openchat.git
    cd openchat
    cp env.web.example apps/web/.env.local
    cp env.server.example apps/server/.env.local
    ```
  </Step>

  <Step title="Set env values">
    Configure auth, Convex URLs, encryption key, and optional provider/search keys.
  </Step>

  <Step title="Start containers">
    ```bash theme={null}
    docker compose up --build
    ```
  </Step>
</Steps>

## Operations

```bash theme={null}
docker compose up -d
docker compose logs -f
docker compose down
```

## Health

Convex health endpoint:

```bash theme={null}
curl http://localhost:3210/health
```
