-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
172 lines (128 loc) · 3.6 KB
/
.env.example
File metadata and controls
172 lines (128 loc) · 3.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
# BCI Compression Toolkit Environment Configuration
# Copy this file to .env and customize for your environment
# ========================================
# Core Application Settings
# ========================================
# Backend acceleration (cpu|cuda|rocm|auto)
BCC_ACCEL=auto
# Logging level (DEBUG|INFO|WARNING|ERROR)
BCC_LOG_LEVEL=INFO
# Application environment (development|production|testing)
BCC_ENV=development
# ========================================
# Server Configuration
# ========================================
# Backend server settings
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8000
BACKEND_WORKERS=4
# Dashboard settings
DASHBOARD_HOST=0.0.0.0
DASHBOARD_PORT=3000
# WebSocket settings
WS_ENABLE=true
WS_PORT=8001
# ========================================
# Storage and Caching
# ========================================
# Data directories
BCC_DATA_DIR=./data
BCC_CACHE_DIR=./cache
BCC_OUTPUT_DIR=./output
BCC_LOG_DIR=./logs
# Cache settings
CACHE_SIZE_MB=1024
CACHE_TTL_SECONDS=3600
# Model cache settings
MODEL_CACHE_DIR=./cache/models
MODEL_CACHE_SIZE_MB=2048
# ========================================
# GPU/Hardware Settings
# ========================================
# CUDA settings
CUDA_VISIBLE_DEVICES=all
CUDA_MEMORY_FRACTION=0.8
NVTX_ENABLE=false
# ROCm settings
HIP_VISIBLE_DEVICES=all
HSA_OVERRIDE_GFX_VERSION=11.0.0
ROCM_MEMORY_FRACTION=0.8
# CPU optimization
OMP_NUM_THREADS=4
MKL_NUM_THREADS=4
OPENBLAS_NUM_THREADS=4
# ========================================
# Compression Settings
# ========================================
# Default compression algorithm (lz4|zstd|blosc|neural_lz77|auto)
DEFAULT_ALGORITHM=auto
# Default quality level (0.0-1.0)
DEFAULT_QUALITY=0.8
# Maximum latency in milliseconds
MAX_LATENCY_MS=2.0
# Enable GPU acceleration for compression
GPU_COMPRESSION=true
# ========================================
# Performance and Monitoring
# ========================================
# Enable performance profiling
PROFILING_ENABLE=false
PROFILING_OUTPUT_DIR=./logs/profiling
# Prometheus metrics
METRICS_ENABLE=true
METRICS_PORT=9090
# Benchmark settings
BENCHMARK_ITERATIONS=10
BENCHMARK_WARMUP_RUNS=3
# ========================================
# Development Settings
# ========================================
# Debug mode
DEBUG=false
# Hot reloading for development
HOT_RELOAD=false
# Enable API documentation
API_DOCS=true
# Enable CORS for development
CORS_ENABLE=true
CORS_ORIGINS=http://localhost:3000,http://localhost:3001
# ========================================
# Security Settings
# ========================================
# API security
API_KEY_REQUIRED=false
API_KEY=your-secret-api-key-here
# Rate limiting
RATE_LIMIT_ENABLE=true
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW=60
# ========================================
# External Services
# ========================================
# Database (optional - for logging/analytics)
DATABASE_URL=sqlite:///./bcc.db
# Redis (optional - for distributed caching)
REDIS_URL=redis://localhost:6379/0
# ========================================
# Docker-specific Settings
# ========================================
# Container user ID (should match host user for volume mounts)
CONTAINER_UID=1000
CONTAINER_GID=1000
# Build arguments
BUILD_DATE=
VCS_REF=
VERSION=latest
# Compose profiles
COMPOSE_PROFILES=cpu
# ========================================
# CI/CD Settings
# ========================================
# Coverage reporting
COVERAGE_THRESHOLD=80
# Benchmark comparison
BENCHMARK_BASELINE_FILE=benchmarks/baseline.json
PERFORMANCE_REGRESSION_THRESHOLD=0.05
# Security scanning
SECURITY_SCAN_ENABLE=true
VULNERABILITY_THRESHOLD=medium