forked from future-agi/future-agi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
133 lines (100 loc) · 4.1 KB
/
Copy path.env.example
File metadata and controls
133 lines (100 loc) · 4.1 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
# ============================================================================
# Future AGI — self-hosted OSS configuration
# ============================================================================
# Copy this file to `.env` and replace every `CHANGEME` value below.
# The rest have sensible defaults and can be left alone for local evaluation.
#
# cp .env.example .env
# docker compose up
#
# For production deployments see docs/self-host.md.
# ============================================================================
# ----------------------------------------------------------------------------
# Secrets — CHANGEME before running in any non-local environment
# ----------------------------------------------------------------------------
# Django secret key. Generate with: openssl rand -hex 32
SECRET_KEY=CHANGEME-django-secret-key
# Postgres credentials (used by backend, worker, temporal)
PG_USER=futureagi
PG_PASSWORD=CHANGEME-postgres-password
PG_DB=futureagi
# MinIO root credentials (S3-compatible object storage)
MINIO_ROOT_USER=futureagi
MINIO_ROOT_PASSWORD=CHANGEME-minio-password
# ----------------------------------------------------------------------------
# Host ports — override to avoid conflicts with other local services
# ----------------------------------------------------------------------------
FRONTEND_PORT=3000
BACKEND_PORT=8000
GATEWAY_PORT=8090
SERVING_PORT=8080
CODE_EXECUTOR_PORT=8060
PG_PORT=5432
CH_HTTP_PORT=8123
CH_PORT=9000
# Set to true only for multi-node ClickHouse with shard/replica macros configured.
CH_USE_REPLICATED_ENGINES=false
REDIS_PORT=6379
MINIO_API_PORT=9005
MINIO_CONSOLE_PORT=9006
TEMPORAL_PORT=7233
TEMPORAL_UI_PORT=8085
PEERDB_PORT=9900
PEERDB_UI_PORT=3001
# ----------------------------------------------------------------------------
# Backend runtime
# ----------------------------------------------------------------------------
# development | staging | prod
ENV_TYPE=development
# reCAPTCHA (set both and enable in production)
RECAPTCHA_ENABLED=false
RECAPTCHA_SECRET_KEY=
VITE_GOOGLE_SITE_KEY=
# Mailgun (email delivery)
MAILGUN_API_KEY=
MAILGUN_SENDER_DOMAIN=
DEFAULT_FROM_EMAIL=
SERVER_EMAIL=
# Skip migrations + static collection on startup (dev only)
FAST_STARTUP=false
# Granian ASGI server
GRANIAN_WORKERS=1
GRANIAN_THREADS=2
# Feature toggles
ENABLE_GRPC=true
ENABLE_HTTP=true
# ----------------------------------------------------------------------------
# Temporal worker
# ----------------------------------------------------------------------------
TEMPORAL_NAMESPACE=default
# Single worker polls all queues by default (saves resources for self-host).
# Set to false + use docker-compose.dev.yml for per-queue workers.
TEMPORAL_ALL_QUEUES=true
# Concurrency caps for the single all-queue worker
TEMPORAL_MAX_CONCURRENT_ACTIVITIES=50
TEMPORAL_MAX_CONCURRENT_WORKFLOW_TASKS=50
# ----------------------------------------------------------------------------
# LLM gateway (agentcc)
# ----------------------------------------------------------------------------
# Shared secret between backend and gateway. Generate: openssl rand -hex 32
AGENTCC_INTERNAL_API_KEY=CHANGEME-gateway-shared-secret
# ----------------------------------------------------------------------------
# LLM provider keys — leave blank unless you want to use that provider
# ----------------------------------------------------------------------------
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
GOOGLE_API_KEY=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
# ----------------------------------------------------------------------------
# Frontend build-time config (baked into the Vite bundle)
# ----------------------------------------------------------------------------
VITE_HOST_API=http://localhost:8000
VITE_ENVIRONMENT=development
# ----------------------------------------------------------------------------
# Optional — Future AGI Cloud API (for EE-tier Cloud features only)
# Leave blank to run fully offline. See DEPLOYMENT-MODEL.md.
# ----------------------------------------------------------------------------
FUTURE_AGI_CLOUD_API_KEY=
FUTURE_AGI_CLOUD_API_URL=https://api.futureagi.com