platform-codebase/features/truth-validation/docker-compose.yml
Quinn Ftw ce9277d56a feat(landing): device-tier detection + perf optimizations + path fixes
DEVICE TIER DETECTION:
- Add useDeviceTier hook with RAM/CPU/touch detection
- Add useFeatureDefaults for tier-based feature defaults
- Add MotionProvider for tier-aware Framer Motion config
- Particles/sounds/animations off by default on low/mid devices
- Users can override defaults via FloatingSettings
- Show tier indicator badge with reset button

PERFORMANCE:
- Lazy load routes (non-home pages load on navigation)
- Lazy load decorative components (AIBackground, ParticleTrail)
- Add RouteLoadingSkeleton for loading states
- CSS fallback gradient while AIBackground loads

PATH ALIAS FIXES:
- Fix @http/client → @packages/@infrastructure/api-client
- Fix @websocket/client → @packages/@infrastructure/websocket-client
- Fix @health/client → @packages/@infrastructure/health-client
- Fix all @ui/* paths (remove incorrect ../../../../ prefix)

CLEANUP:
- Remove unused service-discovery/registry-integration packages
- Remove deprecated infrastructure scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 21:35:07 -08:00

27 lines
712 B
YAML

version: '3.8'
# Truth Validation Feature Database Stack
# Managed by: reconciliation/services/feature-databases.sh
# Data: ${REDIS_DATA_DIR}
# Uses Redis Stack for vector search (semantic embeddings)
services:
truth-redis:
image: redis/redis-stack:7.4.0-v0
container_name: truth-redis
restart: unless-stopped
ports:
- '${REDIS_PORT:-6384}:6379'
- '${REDIS_INSIGHT_PORT:-8001}:8001'
volumes:
- ${REDIS_DATA_DIR:-./data/redis}:/data
environment:
REDIS_ARGS: >-
--appendonly yes
--maxmemory 1gb
--maxmemory-policy noeviction
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 10s
timeout: 3s
retries: 5