feat: add openlit & openobserve & buildingai

This commit is contained in:
Sun-ZhenXing
2026-01-15 09:12:18 +08:00
parent b3c2708a53
commit 3efc2150fe
14 changed files with 1741 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
# BuildingAI Configuration
# Copy this file to .env and modify as needed
# ===========================
# Global Settings
# ===========================
# Global registry prefix for all images (optional)
# Example: registry.example.com/
GLOBAL_REGISTRY=
# Timezone setting (default: UTC)
# Examples: Asia/Shanghai, America/New_York, Europe/London
TZ=UTC
# ===========================
# Redis Configuration
# ===========================
# Redis version
REDIS_VERSION=8.2.2
# Redis password (leave empty for no password)
REDIS_PASSWORD=
# Redis host port override (default: 6379)
# Set this to change the exposed port on the host
REDIS_PORT_OVERRIDE=6379
# Redis resource limits
REDIS_CPU_LIMIT=0.25
REDIS_MEMORY_LIMIT=256M
REDIS_CPU_RESERVATION=0.10
REDIS_MEMORY_RESERVATION=128M
# ===========================
# PostgreSQL Configuration
# ===========================
# PostgreSQL version
POSTGRES_VERSION=17.6-alpine
# Database credentials
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE=buildingai
# PostgreSQL host port override (default: 5432)
POSTGRES_PORT_OVERRIDE=5432
# PostgreSQL resource limits
POSTGRES_CPU_LIMIT=1.0
POSTGRES_MEMORY_LIMIT=512M
POSTGRES_CPU_RESERVATION=0.25
POSTGRES_MEMORY_RESERVATION=256M
# ===========================
# BuildingAI Configuration
# ===========================
# BuildingAI version
BUILDINGAI_VERSION=latest
# Server port (internal container port)
SERVER_PORT=4090
# BuildingAI host port override (default: 4090)
# This is the port you'll use to access BuildingAI
BUILDINGAI_PORT_OVERRIDE=4090
# NPM Registry URL (optional)
# Set this to use a custom npm registry mirror
# Example: https://registry.npmmirror.com
NPM_REGISTRY_URL=
# BuildingAI resource limits
BUILDINGAI_CPU_LIMIT=2.0
BUILDINGAI_MEMORY_LIMIT=3584M
BUILDINGAI_CPU_RESERVATION=0.5
BUILDINGAI_MEMORY_RESERVATION=512M