This repository was archived by the owner on Apr 3, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
105 lines (92 loc) · 3.41 KB
/
.env.example
File metadata and controls
105 lines (92 loc) · 3.41 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
# ==========================
# Core Configuration
# ==========================
ENVIRONMENT=production # deployment environment
API_KEY=your_secure_api_key_here # main HyperCode API key
HYPERCODE_JWT_SECRET=your_jwt_secret_here # JWT secret for auth
JWT_SECRET=your_jwt_secret_here # backward-compatible alias
HYPERCODE_MEMORY_KEY=your_memory_encryption_key_here
# Root path for all bound volumes (see docker-compose.yml volumes).
# Windows: use forward slashes. No quotes. Spaces in path are fine.
# Example: HC_DATA_ROOT=H:/HyperStation zone/HyperCode/HyperCodeData
# Linux/macOS:
# Example: HC_DATA_ROOT=/opt/hypercode-data
HC_DATA_ROOT=H:/HyperStation zone/HyperCode/HyperCodeData
# ==========================
# AI Providers
# ==========================
PERPLEXITY_API_KEY=<your-perplexity-api-key>
OPENAI_API_KEY=<your-openai-api-key>
# ==========================
# Local LLM (Ollama)
# ==========================
OLLAMA_HOST=http://localhost:11434
DEFAULT_LLM_MODEL=auto
OLLAMA_MODEL_PREFERRED=tinyllama:latest,tinyllama,phi3:latest,phi3
OLLAMA_MAX_MODEL_SIZE_MB=2500
OLLAMA_MODEL_REFRESH_SECONDS=300
OLLAMA_TEMPERATURE=0.3
OLLAMA_TOP_P=0.9
OLLAMA_TOP_K=40
OLLAMA_REPEAT_PENALTY=1.1
OLLAMA_NUM_CTX=2048
OLLAMA_NUM_PREDICT=256
# ==========================
# Database (PostgreSQL)
# ==========================
POSTGRES_USER=postgres
POSTGRES_PASSWORD=<your-strong-postgres-password>
POSTGRES_DB=hypercode
HYPERCODE_DB_URL=postgresql://postgres:<your-strong-postgres-password>@postgres:5432/hypercode
# ==========================
# Redis & Celery
# ==========================
HYPERCODE_REDIS_URL=redis://redis:6379/0
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/1
# ==========================
# Frontend Configuration
# ==========================
NEXT_PUBLIC_CORE_URL=http://localhost:8000
NEXT_PUBLIC_AGENTS_URL=http://localhost:8000
CORS_ALLOW_ORIGINS=http://localhost:8088,http://127.0.0.1:8088,http://localhost:3000,http://127.0.0.1:3000
# ==========================
# Observability (Tempo, Grafana, Prometheus)
# ==========================
OTLP_EXPORTER_DISABLED=false
OTLP_ENDPOINT=http://tempo:4317
GRAFANA_URL=http://localhost:3001
GF_SECURITY_ADMIN_USER=admin
GF_SECURITY_ADMIN_PASSWORD=<your-grafana-admin-password>
# ==========================
# Object Storage (MinIO)
# ==========================
MINIO_ROOT_USER=hypercode_minio_admin
MINIO_ROOT_PASSWORD=change_me_minio_root_password
# ==========================
# Crew Orchestrator
# ==========================
ORCHESTRATOR_API_KEY=your_orchestrator_api_key_here
ORCHESTRATOR_ENABLED_AGENTS=
# ==========================
# Discord Broski Bot
# ==========================
DISCORD_TOKEN=your_discord_bot_token_here
DISCORD_GUILD_ID=your_discord_guild_id_here
# ==========================
# Smoke Endpoint (Benchmark/Validation Only)
# ==========================
SMOKE_ENDPOINT_ENABLED=false
SMOKE_API_KEY=your_benchmark_key_here
SMOKE_KEY_ALLOWLIST=your_allowed_keys_here
SMOKE_KEY_TTL_SECONDS=900
# ==========================
# Healer Watchdog
# ==========================
HEALER_WATCHDOG_ENABLED=false
HEALER_WATCHDOG_INTERVAL_SECONDS=60
HEALER_SMOKE_API_KEY=your_benchmark_key_here
HEALER_ORCHESTRATOR_API_KEY=your_orchestrator_api_key_here
HEALER_WATCHDOG_AGENT=healer_watchdog_agent
HEALER_WATCHDOG_FORCE_RESTART=false
HEALER_WATCHED_SERVICES=hypercode-core,redis,postgres,celery-worker,hypercode-ollama,healer-agent