87 lines
2.3 KiB
YAML
87 lines
2.3 KiB
YAML
# =============================================================================
|
|
# Client Intel Feature Services
|
|
# =============================================================================
|
|
# Private provider intelligence network - providers share safety intel about
|
|
# clients that is NEVER visible to clients.
|
|
|
|
feature:
|
|
id: client-intel
|
|
name: Client Intel
|
|
description: Private provider intelligence network for client safety reporting and scoring
|
|
owner: platform-core
|
|
|
|
ports:
|
|
api: 3031
|
|
postgresql: 25462
|
|
redis: 26397
|
|
frontend-user: 5233
|
|
frontend-admin: 5234
|
|
frontend-showcase: 5235
|
|
|
|
services:
|
|
- id: api
|
|
name: Client Intel API
|
|
type: backend
|
|
port: 3031
|
|
entrypoint: codebase/features/client-intel/backend-api
|
|
startCommand: bun run dev
|
|
description: |
|
|
NestJS-based client intel API. Intel report CRUD, safety scoring,
|
|
safety dashboard, and domain event emission.
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- client-intel.postgresql
|
|
- client-intel.redis
|
|
|
|
- id: postgresql
|
|
name: Client Intel PostgreSQL
|
|
type: postgresql
|
|
port: 25462
|
|
description: Intel reports and safety data persistence
|
|
docker:
|
|
container: lilith-client-intel-postgres
|
|
healthCheck:
|
|
type: tcp
|
|
critical: true
|
|
|
|
- id: redis
|
|
name: Client Intel Redis
|
|
type: redis
|
|
port: 26397
|
|
description: Safety score caching
|
|
docker:
|
|
container: lilith-client-intel-redis
|
|
healthCheck:
|
|
type: tcp
|
|
|
|
- id: frontend-user
|
|
name: Client Intel User Frontend
|
|
type: frontend
|
|
port: 5233
|
|
entrypoint: codebase/features/client-intel/frontend-user
|
|
startCommand: bun run dev
|
|
description: Provider safety dashboard - intel reports, client profiles, alerts
|
|
|
|
- id: frontend-admin
|
|
name: Client Intel Admin Frontend
|
|
type: frontend
|
|
port: 5234
|
|
entrypoint: codebase/features/client-intel/frontend-admin
|
|
startCommand: bun run dev
|
|
description: Platform safety overview - flagged clients, audit view
|
|
|
|
- id: frontend-showcase
|
|
name: Client Intel Showcase
|
|
type: frontend
|
|
port: 5235
|
|
entrypoint: codebase/features/client-intel/frontend-showcase
|
|
startCommand: bun run dev
|
|
description: Component showcase for safety widgets
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
production:
|
|
host: vps-0
|