Skip to content

Commit e2a7d82

Browse files
committed
Initial commit
0 parents  commit e2a7d82

File tree

1,308 files changed

+573699
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,308 files changed

+573699
-0
lines changed

.cargo/audit.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[advisories]
2+
ignore = ["RUSTSEC-2023-0071"]

.env.example

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Hadrian Gateway Environment Variables
2+
# Copy this file to .env and fill in your values
3+
4+
# =============================================================================
5+
# LLM Provider API Keys
6+
# =============================================================================
7+
OPENROUTER_API_KEY=sk-or-v1-...
8+
ANTHROPIC_API_KEY=sk-ant-...
9+
OPENAI_API_KEY=sk-...
10+
11+
# =============================================================================
12+
# Database (PostgreSQL)
13+
# =============================================================================
14+
POSTGRES_PASSWORD=your-secure-password
15+
DATABASE_URL=postgres://gateway:your-secure-password@postgres:5432/gateway
16+
# For HA setup with read replicas
17+
POSTGRES_REPL_PASSWORD=your-replication-password
18+
19+
# =============================================================================
20+
# Redis
21+
# =============================================================================
22+
REDIS_URL=redis://redis:6379
23+
# For Redis cluster (comma-separated)
24+
# REDIS_CLUSTER_NODES=redis-1:6379,redis-2:6379,redis-3:6379
25+
26+
# =============================================================================
27+
# RabbitMQ (for DLQ setup)
28+
# =============================================================================
29+
RABBITMQ_PASSWORD=your-rabbitmq-password
30+
31+
# =============================================================================
32+
# Keycloak / OIDC
33+
# =============================================================================
34+
KEYCLOAK_ADMIN_PASSWORD=admin
35+
KEYCLOAK_DB_PASSWORD=keycloak
36+
OIDC_CLIENT_SECRET=your-oidc-client-secret
37+
# Generate with: openssl rand -base64 32
38+
OAUTH2_PROXY_COOKIE_SECRET=your-cookie-secret-32-chars-min
39+
40+
# =============================================================================
41+
# Observability
42+
# =============================================================================
43+
GRAFANA_PASSWORD=admin
44+
SENTRY_DSN=
45+
SENTRY_ENVIRONMENT=development
46+
47+
# =============================================================================
48+
# Traefik / SSL (production)
49+
# =============================================================================
50+
DOMAIN=localhost
51+
ACME_EMAIL=admin@example.com
52+
53+
# =============================================================================
54+
# Alerting (production)
55+
# =============================================================================
56+
SLACK_WEBHOOK_URL=
57+
PAGERDUTY_SERVICE_KEY=
58+
SMTP_PASSWORD=

0 commit comments

Comments
 (0)