docs consolidation
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
| Component | Requirement | Notes |
|
||||
|-----------|-------------|-------|
|
||||
| Runtime | .NET 10.0+ | LTS recommended |
|
||||
| Database | PostgreSQL 15.0+ | For projections and issuer directory |
|
||||
| Database | PostgreSQL 16+ | For projections and issuer directory |
|
||||
| Cache | Valkey 8.0+ (optional) | For caching consensus results |
|
||||
| Memory | 512MB minimum | 2GB recommended for production |
|
||||
| CPU | 2 cores minimum | 4 cores for high throughput |
|
||||
@@ -411,8 +411,8 @@ vexlens:
|
||||
|
||||
caching:
|
||||
enabled: true
|
||||
redis:
|
||||
connectionString: redis://redis:6379
|
||||
redis: # Valkey (Redis-compatible)
|
||||
connectionString: redis://valkey:6379
|
||||
consensusTtlMinutes: 5
|
||||
issuerTtlMinutes: 60
|
||||
```
|
||||
|
||||
@@ -43,12 +43,10 @@ Configure via `vexlens.yaml` or environment variables with `VEXLENS_` prefix:
|
||||
```yaml
|
||||
VexLens:
|
||||
Storage:
|
||||
Driver: mongo # "memory" for testing, "mongo" for production
|
||||
ConnectionString: "mongodb://..."
|
||||
Database: stellaops
|
||||
ProjectionsCollection: vex_consensus
|
||||
HistoryCollection: vex_consensus_history
|
||||
MaxHistoryEntries: 100
|
||||
Driver: postgres # "memory" for testing, "postgres" for production
|
||||
PostgresConnectionString: "Host=postgres;Database=stellaops_platform;Username=stellaops;Password=..."
|
||||
ProjectionRetentionDays: 365
|
||||
EventRetentionDays: 90
|
||||
CommandTimeoutSeconds: 30
|
||||
|
||||
Trust:
|
||||
@@ -98,8 +96,8 @@ VexLens:
|
||||
### 3.2 Environment variable overrides
|
||||
|
||||
```bash
|
||||
VEXLENS_STORAGE__DRIVER=mongo
|
||||
VEXLENS_STORAGE__CONNECTIONSTRING=mongodb://localhost:27017
|
||||
VEXLENS_STORAGE__DRIVER=postgres
|
||||
VEXLENS_STORAGE__POSTGRESCONNECTIONSTRING="Host=localhost;Database=stellaops_platform;Username=stellaops;Password=..."
|
||||
VEXLENS_CONSENSUS__DEFAULTMODE=WeightedVote
|
||||
VEXLENS_AIRGAP__SEALEDMODE=true
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user