122 lines
3.7 KiB
Plaintext
122 lines
3.7 KiB
Plaintext
# OpenLIT Configuration
|
|
# Copy this file to .env and modify as needed
|
|
|
|
# =============================================================================
|
|
# Version Configuration
|
|
# =============================================================================
|
|
# OpenLIT version (default: latest)
|
|
OPENLIT_VERSION=latest
|
|
|
|
# ClickHouse version
|
|
CLICKHOUSE_VERSION=24.4.1
|
|
|
|
# =============================================================================
|
|
# Global Configuration
|
|
# =============================================================================
|
|
# Global registry prefix for all images (optional)
|
|
# GLOBAL_REGISTRY=
|
|
|
|
# Time zone (default: UTC)
|
|
TZ=UTC
|
|
|
|
# =============================================================================
|
|
# Database Configuration
|
|
# =============================================================================
|
|
# ClickHouse database name
|
|
OPENLIT_DB_NAME=openlit
|
|
|
|
# ClickHouse username
|
|
OPENLIT_DB_USER=default
|
|
|
|
# ClickHouse password
|
|
OPENLIT_DB_PASSWORD=OPENLIT
|
|
|
|
# =============================================================================
|
|
# Port Configuration
|
|
# =============================================================================
|
|
# OpenLIT UI port on host (default: 3000)
|
|
OPENLIT_PORT_OVERRIDE=3000
|
|
|
|
# OpenLIT internal port (do not change unless necessary)
|
|
OPENLIT_INTERNAL_PORT=3000
|
|
|
|
# OTLP gRPC receiver port (default: 4317)
|
|
OPENLIT_OTLP_GRPC_PORT_OVERRIDE=4317
|
|
|
|
# OTLP HTTP receiver port (default: 4318)
|
|
OPENLIT_OTLP_HTTP_PORT_OVERRIDE=4318
|
|
|
|
# ClickHouse HTTP port (default: 8123)
|
|
CLICKHOUSE_HTTP_PORT_OVERRIDE=8123
|
|
|
|
# ClickHouse Native protocol port (default: 9000)
|
|
CLICKHOUSE_NATIVE_PORT_OVERRIDE=9000
|
|
|
|
# =============================================================================
|
|
# Resource Limits - OpenLIT
|
|
# =============================================================================
|
|
# CPU limit for OpenLIT
|
|
OPENLIT_CPU_LIMIT=1.0
|
|
|
|
# Memory limit for OpenLIT
|
|
OPENLIT_MEMORY_LIMIT=2G
|
|
|
|
# CPU reservation for OpenLIT
|
|
OPENLIT_CPU_RESERVATION=0.25
|
|
|
|
# Memory reservation for OpenLIT
|
|
OPENLIT_MEMORY_RESERVATION=512M
|
|
|
|
# =============================================================================
|
|
# Resource Limits - ClickHouse
|
|
# =============================================================================
|
|
# CPU limit for ClickHouse
|
|
CLICKHOUSE_CPU_LIMIT=2.0
|
|
|
|
# Memory limit for ClickHouse
|
|
CLICKHOUSE_MEMORY_LIMIT=4G
|
|
|
|
# CPU reservation for ClickHouse
|
|
CLICKHOUSE_CPU_RESERVATION=0.5
|
|
|
|
# Memory reservation for ClickHouse
|
|
CLICKHOUSE_MEMORY_RESERVATION=2G
|
|
|
|
# =============================================================================
|
|
# Application Configuration
|
|
# =============================================================================
|
|
# Enable telemetry
|
|
TELEMETRY_ENABLED=true
|
|
|
|
# =============================================================================
|
|
# OAuth Configuration (Optional)
|
|
# =============================================================================
|
|
# Google OAuth
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
|
|
# GitHub OAuth
|
|
GITHUB_CLIENT_ID=
|
|
GITHUB_CLIENT_SECRET=
|
|
|
|
# =============================================================================
|
|
# OpAMP Server Configuration
|
|
# =============================================================================
|
|
# Environment Mode: development, production, testing (default: production)
|
|
OPAMP_ENVIRONMENT=production
|
|
|
|
# Skip certificate verification (development only, default: false)
|
|
OPAMP_TLS_INSECURE_SKIP_VERIFY=false
|
|
|
|
# Require client certificates for mutual TLS (default: true)
|
|
OPAMP_TLS_REQUIRE_CLIENT_CERT=true
|
|
|
|
# TLS minimum version: 1.0, 1.1, 1.2, 1.3 (default: 1.2)
|
|
OPAMP_TLS_MIN_VERSION=1.2
|
|
|
|
# TLS maximum version: 1.0, 1.1, 1.2, 1.3 (default: 1.3)
|
|
OPAMP_TLS_MAX_VERSION=1.3
|
|
|
|
# Logging level: debug, info, warn, error (default: info)
|
|
OPAMP_LOG_LEVEL=info
|