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
Last updated
Was this helpful?