Introducing Virtual MCP Servers
LogoLogo
GithubJoin SlackSignupBook a Demo
  • Documentation
  • Self Hosted
  • Integrations
  • Guides
  • Enterprise
  • Architecture Overview
  • Enterprise Licensing Options
  • Running Locally
    • ai-gateway.yaml
  • Tenant & User Provisioning
  • Deployment Options
    • Using Docker Compose
    • Deploying on AWS Cloud
    • Using Kubernetes (Beta)
    • Deploying on GCP (Beta)
  • Resources
    • Multi Tenancy
    • Configuring Data Retention
    • Clickhouse Queries
    • Working with Models
Powered by GitBook
LogoLogo

Social

  • LinkedIn
  • X
  • Youtube
  • Github

Platform

  • Pricing
  • Documentation
  • Blog

Company

  • Home
  • About

Legal

  • Privacy Policy
  • Terms of Service

2025 LangDB. All rights reserved.

On this page

Was this helpful?

Export as PDF
  1. Running Locally

ai-gateway.yaml

Use YAML config to securely define storage, networking, and service settings for your LangDB AI Gateway deployments.

ai-gateway.yaml is the primary way to configure secrets and specific features of AI Gateway.

# Sample ai-gateway.yaml

# Refer to the ai-gateway.yaml for
# advanced configurations available 
# ....

# Configuration for storage
database_config:
  url: "postgres://langdb:XXXX@localhost:5438/postgres"
redis_config:
  url: "redis://localhost:6379"
langdb_clickhouse_config:
  url: localhost:8123
  
rest_api:
  port: 8083
  host: 0.0.0.0
  cors: true


## Configure storage location
# storage_config: !Local "file:///<storage-path>"

langdb_cloud_ui: 
  url: http://localhost:3000
PreviousRunning LocallyNextTenant & User Provisioning

Last updated 9 days ago

Was this helpful?