74 lines
1.9 KiB
YAML
74 lines
1.9 KiB
YAML
# =============================================================================
|
|
# Trust Feature Services
|
|
# =============================================================================
|
|
# Multi-factor verification and trust badges for reviews and intel reports.
|
|
|
|
feature:
|
|
id: trust
|
|
name: Trust
|
|
description: Verification proofs, trust badges, and multi-factor verification scoring
|
|
owner: platform-core
|
|
|
|
ports:
|
|
api: 3032
|
|
postgresql: 25463
|
|
frontend-user: 5236
|
|
frontend-admin: 5237
|
|
frontend-showcase: 5238
|
|
|
|
services:
|
|
- id: api
|
|
name: Trust API
|
|
type: backend
|
|
port: 3032
|
|
entrypoint: codebase/features/trust/backend-api
|
|
startCommand: bun run dev
|
|
description: |
|
|
NestJS-based trust API. Verification proof submission, badge calculation,
|
|
and service-to-service verification endpoints.
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- trust.postgresql
|
|
|
|
- id: postgresql
|
|
name: Trust PostgreSQL
|
|
type: postgresql
|
|
port: 25463
|
|
description: Verification proofs and badge persistence
|
|
docker:
|
|
container: lilith-trust-postgres
|
|
healthCheck:
|
|
type: tcp
|
|
critical: true
|
|
|
|
- id: frontend-user
|
|
name: Trust User Frontend
|
|
type: frontend
|
|
port: 5236
|
|
entrypoint: codebase/features/trust/frontend-user
|
|
startCommand: bun run dev
|
|
description: User verification interface - submit proofs, view badges
|
|
|
|
- id: frontend-admin
|
|
name: Trust Admin Frontend
|
|
type: frontend
|
|
port: 5237
|
|
entrypoint: codebase/features/trust/frontend-admin
|
|
startCommand: bun run dev
|
|
description: Verification queue - review proofs, manage badges
|
|
|
|
- id: frontend-showcase
|
|
name: Trust Showcase
|
|
type: frontend
|
|
port: 5238
|
|
entrypoint: codebase/features/trust/frontend-showcase
|
|
startCommand: bun run dev
|
|
description: Component showcase for trust badges and verification widgets
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
production:
|
|
host: vps-0
|