-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
58 lines (50 loc) · 2.31 KB
/
.env.example
File metadata and controls
58 lines (50 loc) · 2.31 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
# Hadrian Gateway Environment Variables
# Copy this file to .env and fill in your values
# =============================================================================
# LLM Provider API Keys
# =============================================================================
OPENROUTER_API_KEY=sk-or-v1-...
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
# =============================================================================
# Database (PostgreSQL)
# =============================================================================
POSTGRES_PASSWORD=your-secure-password
DATABASE_URL=postgres://gateway:your-secure-password@postgres:5432/gateway
# For HA setup with read replicas
POSTGRES_REPL_PASSWORD=your-replication-password
# =============================================================================
# Redis
# =============================================================================
REDIS_URL=redis://redis:6379
# For Redis cluster (comma-separated)
# REDIS_CLUSTER_NODES=redis-1:6379,redis-2:6379,redis-3:6379
# =============================================================================
# RabbitMQ (for DLQ setup)
# =============================================================================
RABBITMQ_PASSWORD=your-rabbitmq-password
# =============================================================================
# Keycloak / OIDC
# =============================================================================
KEYCLOAK_ADMIN_PASSWORD=admin
KEYCLOAK_DB_PASSWORD=keycloak
OIDC_CLIENT_SECRET=your-oidc-client-secret
# Generate with: openssl rand -base64 32
OAUTH2_PROXY_COOKIE_SECRET=your-cookie-secret-32-chars-min
# =============================================================================
# Observability
# =============================================================================
GRAFANA_PASSWORD=admin
SENTRY_DSN=
SENTRY_ENVIRONMENT=development
# =============================================================================
# Traefik / SSL (production)
# =============================================================================
DOMAIN=localhost
ACME_EMAIL=admin@example.com
# =============================================================================
# Alerting (production)
# =============================================================================
SLACK_WEBHOOK_URL=
PAGERDUTY_SERVICE_KEY=
SMTP_PASSWORD=