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

# RELAI On-Prem Deployment

> Run RELAI in your own environment with Docker Compose — pull the images, configure the environment, and start the services.

This guide walks through deploying RELAI on infrastructure you control, using
Docker Compose. It's the simple, single-node path: one host running the
backend, dashboard, database, cache, and background worker as containers.

<CardGroup cols={2}>
  <Card title="Prerequisites" icon="clipboard-check" href="/prerequisites">
    Docker, ports, and API keys you'll need before you start.
  </Card>

  <Card title="Pulling the images" icon="download" href="/pulling-the-images">
    Authenticate to Docker Hub and pull the RELAI images.
  </Card>

  <Card title="Configuration" icon="sliders" href="/configuration">
    Set up your `.env` file and generate the required secrets.
  </Card>

  <Card title="Choosing an LLM provider" icon="brain" href="/llm-providers">
    Use OpenAI, Azure OpenAI, AWS Bedrock, Anthropic, or another supported provider.
  </Card>

  <Card title="Starting the services" icon="play" href="/starting-the-services">
    Bring the stack up with Docker Compose.
  </Card>
</CardGroup>

## What gets deployed

<Steps>
  <Step title="Database">
    A MySQL container that stores application data.
  </Step>

  <Step title="Redis">
    A Redis container used as the Celery message broker.
  </Step>

  <Step title="Backend">
    The RELAI backend, served with Uvicorn, plus one-off migration and
    bootstrap containers that run on startup.
  </Step>

  <Step title="Celery worker">
    Runs background jobs (queued via Redis) using the same backend image.
  </Step>

  <Step title="Dashboard">
    The RELAI dashboard, a static frontend served by nginx.
  </Step>
</Steps>

<Info>
  Looking for a production-scale, multi-node deployment instead? Contact
  RELAI — there's a Kubernetes/Helm path for that. This guide covers the
  single-node Docker Compose path only.
</Info>
