-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
79 lines (68 loc) · 2.77 KB
/
Copy path.env.example
File metadata and controls
79 lines (68 loc) · 2.77 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
# Agenium Search - Environment Configuration
# Copy to .env and fill in real values
# NEVER commit real secrets to the repository
# ============================================================
# PostgreSQL
# ============================================================
POSTGRES_HOST=postgres
POSTGRES_PORT=5432
POSTGRES_USER=agenium
POSTGRES_PASSWORD=CHANGE_ME_postgres_password
POSTGRES_DB=agenium_search
# ============================================================
# Redis
# ============================================================
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
# ============================================================
# NATS
# ============================================================
NATS_URL=nats://nats:4222
# ============================================================
# OpenSearch
# ============================================================
OPENSEARCH_URL=http://opensearch:9200
OPENSEARCH_INDEX=agenium_documents
# ============================================================
# OpenTelemetry
# ============================================================
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
OTEL_SERVICE_NAME=agenium-search
# ============================================================
# Service Configuration
# ============================================================
SERVICE_VERSION=0.1.0
NODE_ENV=development
# ============================================================
# DNS System (for dns-crawler)
# ============================================================
DNS_SYSTEM_URL=http://185.204.169.26:3000
# ============================================================
# Bug Server Integration
# ============================================================
BUG_SERVER_URL=http://bug-server:3000
BUG_SERVER_TOKEN=CHANGE_ME_bug_server_api_token
BUG_SERVER_ENABLED=0
# ============================================================
# Authentication (Production)
# ============================================================
# JWT signing keys (RS256). Supports multiple keys for rotation.
# Format: JSON array of {kid, publicKey, privateKey}
JWT_KEYS=CHANGE_ME_jwt_keys_json
# Admin API token for internal admin operations
ADMIN_TOKEN=CHANGE_ME_admin_token_64_hex_chars
# ============================================================
# Backup Configuration (Production)
# ============================================================
BACKUP_S3_ENDPOINT=https://s3.amazonaws.com
BACKUP_S3_REGION=us-east-1
BACKUP_BUCKET=CHANGE_ME_backup_bucket_name
BACKUP_ACCESS_KEY=CHANGE_ME_aws_access_key
BACKUP_SECRET_KEY=CHANGE_ME_aws_secret_key
# ============================================================
# Rate Limiting
# ============================================================
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX_REQUESTS=100
ADMIN_RATE_LIMIT_MAX=10