This repository was archived by the owner on Aug 29, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 821
Expand file tree
/
Copy path.env.example
More file actions
135 lines (113 loc) · 3.92 KB
/
Copy path.env.example
File metadata and controls
135 lines (113 loc) · 3.92 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
# Airweave Environment Variables
# Copy this file to .env and update with your values
# Database Configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=airweave
# Generated by start.sh if empty
POSTGRES_PASSWORD=
POSTGRES_DB=airweave
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
# Authentication
# Generated by start.sh if empty
FIRST_SUPERUSER=
# Generated by start.sh if empty
FIRST_SUPERUSER_PASSWORD=
ENCRYPTION_KEY=
AUTH_ENABLED=false
STATE_SECRET=
# Auth0 Configuration (required if AUTH_ENABLED=true)
AUTH0_DOMAIN=
AUTH0_AUDIENCE=
AUTH0_RULE_NAMESPACE=
# Embeddings Configuration
TEXT2VEC_INFERENCE_URL=http://localhost:9878
# Embedding Configuration
# All three variables are REQUIRED — the app will not start without them.
# Available dense embedders:
# openai_text_embedding_3_small (up to 1536d, requires OPENAI_API_KEY)
# openai_text_embedding_3_large (up to 3072d, requires OPENAI_API_KEY)
# mistral_embed (fixed 1024d, requires MISTRAL_API_KEY)
# local_minilm (fixed 384d, requires TEXT2VEC_INFERENCE_URL)
# Available sparse embedders:
# fastembed_bm25 (no API key needed)
DENSE_EMBEDDER=openai_text_embedding_3_small
EMBEDDING_DIMENSIONS=1536
SPARSE_EMBEDDER=fastembed_bm25
# API Keys (optional — required depending on DENSE_EMBEDDER choice above)
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
MISTRAL_API_KEY=
# Optional — override the base URL used by every Mistral client (embedder,
# OCR, LLM). Unset to fall back to the in-code default
# (MISTRAL_DEFAULT_BASE_URL = https://api.mistral.ai). Set this to point at a
# self-hosted Mistral endpoint or a corporate proxy.
# MISTRAL_BASE_URL=
# Development Settings
LOCAL_DEVELOPMENT=false
LOCAL_CURSOR_DEVELOPMENT=false
ENVIRONMENT=local
FRONTEND_LOCAL_DEVELOPMENT_PORT=8080
CONNECT_LOCAL_DEVELOPMENT_PORT=8082
SKIP_AZURE_STORAGE=true
STRIPE_ENABLED=false
# Storage Backend Configuration
# ============================
# Backend selector: filesystem | azure | aws | gcp
# If not set, auto-resolves from ENVIRONMENT (local/test -> filesystem, dev/prd -> azure)
STORAGE_BACKEND=filesystem
# Filesystem backend (local development, K8s PVC)
# Default: ./local_storage (relative to project root)
# For local dev with debugger, use /tmp/airweave_local_storage to avoid uvicorn reload issues
# In K8s: /data/airweave-storage (PVC mount)
STORAGE_PATH=./local_storage
# Azure Blob Storage (when STORAGE_BACKEND=azure)
STORAGE_AZURE_ACCOUNT=
STORAGE_AZURE_CONTAINER=raw
STORAGE_AZURE_PREFIX=
# AWS S3 (when STORAGE_BACKEND=aws)
STORAGE_AWS_BUCKET=
STORAGE_AWS_REGION=
STORAGE_AWS_PREFIX=
STORAGE_AWS_ENDPOINT_URL= # For MinIO, LocalStack, etc.
# GCP Cloud Storage (when STORAGE_BACKEND=gcp)
STORAGE_GCP_BUCKET=
STORAGE_GCP_PROJECT=
STORAGE_GCP_PREFIX=
# ============================
# Storage Backend Integration Tests
# ============================
# These variables configure the test infrastructure for storage backend tests.
# Tests run against real cloud resources and require valid credentials.
#
# AWS S3 Test Configuration
STORAGE_TEST_AWS_BUCKET=airweave-storage-backend-tests
STORAGE_TEST_AWS_REGION=us-east-1
# GCP GCS Test Configuration
STORAGE_TEST_GCP_BUCKET=airweave-storage-backend-tests
STORAGE_TEST_GCP_PROJECT=airweave-production
# Azure Blob Test Configuration
STORAGE_TEST_AZURE_ACCOUNT=airweavecoredevstorage
STORAGE_TEST_AZURE_CONTAINER=backend-tests
# Temporal Configuration
TEMPORAL_HOST=localhost
TEMPORAL_PORT=7233
TEMPORAL_NAMESPACE=default
TEMPORAL_TASK_QUEUE=airweave-sync-queue
# Custom Deployment URLs (optional)
API_FULL_URL=
APP_FULL_URL=
ADDITIONAL_CORS_ORIGINS=
# Other Settings
PROJECT_NAME=Airweave
LOG_LEVEL=INFO
RUN_ALEMBIC_MIGRATIONS=true
RUN_DB_SYNC=true
CODE_SUMMARIZER_ENABLED=false
SVIX_URL=http://localhost:8071
# Must be >= 32 bytes for HMAC-SHA256
SVIX_JWT_SECRET=local-dev-svix-jwt-secret-that-is-at-least-32-chars
# Docling OCR fallback (set to enable secondary OCR provider)
DOCLING_BASE_URL=