esc
Type to search the docs
Back to catalog

librechat

Draft

AI chat platform supporting multiple LLM providers

Run locally

Terminal
$ npx launchfile up librechat

Requires Docker Desktop. No source code needed — pulls pre-built images and starts librechat with all dependencies.

Image: ghcr.io/danny-avila/librechat:latest
Launchfile View on GitHub
# yaml-language-server: $schema=https://launchfile.dev/schema/v1
version: launch/v1
name: librechat
description: "AI chat platform supporting multiple LLM providers"

image: ghcr.io/danny-avila/librechat:latest
provides:
  - protocol: http
    port: 3080
    exposed: true
requires:
  - type: mongodb
    set_env:
      MONGO_URI: $url
env:
  OPENAI_API_KEY:
    required: true
    sensitive: true
    description: "OpenAI API key"
  ANTHROPIC_API_KEY:
    required: true
    sensitive: true
    description: "Anthropic API key"
  DOMAIN_SERVER:
    default: "http://localhost:3080"
    description: "Server domain URL"
  DOMAIN_CLIENT:
    default: "http://localhost:3080"
    description: "Client domain URL"
  ALLOW_REGISTRATION:
    default: "true"
    description: "Allow new user registration"
  CREDS_KEY:
    generator: secret
    sensitive: true
    description: "Credential encryption key"
  CREDS_IV:
    generator: secret
    sensitive: true
    description: "Credential encryption IV"
  JWT_SECRET:
    generator: secret
    sensitive: true
    description: "JWT signing secret"
  JWT_REFRESH_SECRET:
    generator: secret
    sensitive: true
    description: "JWT refresh token secret"
storage:
  uploads:
    path: /app/uploads
    persistent: true
  logs:
    path: /app/logs
    persistent: true
health: /api/health
restart: always

Test Results

Last Tested

2026-04-06

Health Check

Failing

Startup Time

107s

Total Disk

2728 MB

Required Services

mongodb

Learn More

Spec references for features used in this Launchfile.

Related Apps