-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
executable file
·87 lines (74 loc) · 3.1 KB
/
.env.example
File metadata and controls
executable file
·87 lines (74 loc) · 3.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
# Vectorizer Environment Configuration
# Copy this file to .env and customize for your environment
# =============================================================================
# BASIC CONFIGURATION
# =============================================================================
# Server Configuration
VECTORIZER_HOST=0.0.0.0
VECTORIZER_PORT=15002
RUN_MODE=production
TZ=America/Sao_Paulo
# Logging Configuration
RUST_LOG=info
RUST_BACKTRACE=0
# =============================================================================
# HIVEHUB CLUSTER MODE (use with config.cluster.yml)
# =============================================================================
# HiveHub Service API Key (REQUIRED for cluster mode)
# Get this from your HiveHub dashboard: https://hivehub.cloud/api-keys
# This key allows Vectorizer to communicate with HiveHub for:
# - API key validation
# - Quota checks
# - Usage reporting
# - Tenant management
HIVEHUB_SERVICE_API_KEY=svc_your_service_api_key_here
# HiveHub API URL (optional, defaults to https://api.hivehub.cloud)
# Only change this if you're running a self-hosted HiveHub instance
# HIVEHUB_API_URL=https://api.hivehub.cloud
# Cluster Node ID (optional, but recommended for cluster mode)
# Must be unique per node in the cluster
# If not set, a random UUID will be generated
# VECTORIZER_NODE_ID=node-1
# =============================================================================
# STANDARD MODE (use with config.yml)
# =============================================================================
# Authentication Configuration
# SECURITY WARNING: Change these default credentials in production!
VECTORIZER_AUTH_ENABLED=true
VECTORIZER_ADMIN_USERNAME=admin
VECTORIZER_ADMIN_PASSWORD=admin
# REQUIRED: must be >=32 chars and not the legacy default literal. The server
# refuses to boot with an empty, short, or known-weak secret. Generate with:
# openssl rand -hex 64
VECTORIZER_JWT_SECRET=
# Data Paths (optional, defaults to ./data)
# VECTORIZER_DATA_PATH=/vectorizer/data
# VECTORIZER_STORAGE_PATH=/vectorizer/storage
# VECTORIZER_SNAPSHOTS_PATH=/vectorizer/snapshots
# Workspace Configuration (for monorepo)
# VECTORIZER_WORKSPACE_CONFIG=/vectorizer/workspace.yml
# =============================================================================
# USAGE EXAMPLES
# =============================================================================
# Standard Mode (Single-Tenant):
# ------------------------------
# ./vectorizer --config config.yml
#
# Cluster Mode (Multi-Tenant with HiveHub):
# ------------------------------------------
# export HIVEHUB_SERVICE_API_KEY="svc_your_key_here"
# ./vectorizer --config config.cluster.yml
#
# Development Environment:
# ------------------------
# HIVEHUB_SERVICE_API_KEY=svc_dev_test_key_123
# HIVEHUB_API_URL=http://localhost:12000
# VECTORIZER_NODE_ID=dev-node-1
# RUST_LOG=debug
#
# Production Environment:
# -----------------------
# HIVEHUB_SERVICE_API_KEY=svc_prod_key_789_KEEP_SECRET
# HIVEHUB_API_URL=https://api.hivehub.cloud
# VECTORIZER_NODE_ID=prod-node-1
# RUST_LOG=info