CBCFacil v8.0 - Refactored with AMD GPU support
This commit is contained in:
76
.env.example
Normal file
76
.env.example
Normal file
@@ -0,0 +1,76 @@
|
||||
# =============================================================================
|
||||
# CBCFacil Configuration Template
|
||||
# =============================================================================
|
||||
# Copy this file to .env.secrets and fill in your actual values
|
||||
# NEVER commit .env.secrets to version control
|
||||
# =============================================================================
|
||||
|
||||
# =============================================================================
|
||||
# Application Configuration
|
||||
# =============================================================================
|
||||
DEBUG=false
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
# =============================================================================
|
||||
# Nextcloud/WebDAV Configuration (Required for file sync)
|
||||
# =============================================================================
|
||||
NEXTCLOUD_URL=https://your-nextcloud.example.com/remote.php/webdav
|
||||
NEXTCLOUD_USER=your_username
|
||||
NEXTCLOUD_PASSWORD=your_secure_password
|
||||
|
||||
# =============================================================================
|
||||
# AI Providers Configuration (Required for summarization)
|
||||
# =============================================================================
|
||||
# Option 1: Claude/Anthropic
|
||||
ANTHROPIC_AUTH_TOKEN=your_claude_api_token_here
|
||||
ZAI_BASE_URL=https://api.z.ai/api/anthropic
|
||||
|
||||
# Option 2: Google Gemini
|
||||
GEMINI_API_KEY=your_gemini_api_key_here
|
||||
|
||||
# =============================================================================
|
||||
# CLI Tools (Optional - for local AI tools)
|
||||
# =============================================================================
|
||||
CLAUDE_CLI_PATH=/path/to/claude # or leave empty
|
||||
GEMINI_CLI_PATH=/path/to/gemini # or leave empty
|
||||
|
||||
# =============================================================================
|
||||
# Telegram Notifications (Optional)
|
||||
# =============================================================================
|
||||
TELEGRAM_TOKEN=your_telegram_bot_token
|
||||
TELEGRAM_CHAT_ID=your_telegram_chat_id
|
||||
|
||||
# =============================================================================
|
||||
# Dashboard Configuration (Required for production)
|
||||
# =============================================================================
|
||||
# Generate a secure key with: python -c "import os; print(os.urandom(24).hex())"
|
||||
DASHBOARD_SECRET_KEY=generate_a_secure_random_key_here
|
||||
DASHBOARD_HOST=0.0.0.0
|
||||
DASHBOARD_PORT=5000
|
||||
|
||||
# =============================================================================
|
||||
# GPU Configuration (Optional)
|
||||
# =============================================================================
|
||||
# Use specific GPU: CUDA_VISIBLE_DEVICES=0
|
||||
# Use all GPUs: CUDA_VISIBLE_DEVICES=all
|
||||
CUDA_VISIBLE_DEVICES=all
|
||||
PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512
|
||||
|
||||
# =============================================================================
|
||||
# Performance Tuning (Optional)
|
||||
# =============================================================================
|
||||
OMP_NUM_THREADS=4
|
||||
MKL_NUM_THREADS=4
|
||||
|
||||
# =============================================================================
|
||||
# Processing Configuration (Optional)
|
||||
# =============================================================================
|
||||
POLL_INTERVAL=5
|
||||
HTTP_TIMEOUT=30
|
||||
WEBDAV_MAX_RETRIES=3
|
||||
DOWNLOAD_CHUNK_SIZE=65536
|
||||
|
||||
# =============================================================================
|
||||
# Logging (Optional)
|
||||
# =============================================================================
|
||||
LOG_FILE=logs/app.log
|
||||
Reference in New Issue
Block a user