55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
# =============================================================================
|
|
# Threat Intelligence Feature Services (External name: risk-assessment)
|
|
# =============================================================================
|
|
# Shadow onboarding, community reporting, identifier matching, threat profiles.
|
|
# Provider-facing safety lookup + admin management.
|
|
|
|
feature:
|
|
id: threat-intelligence
|
|
name: Risk Assessment
|
|
description: Community safety reporting, identifier matching, and risk assessment
|
|
owner: platform-core
|
|
|
|
ports:
|
|
api: 4190
|
|
frontend-dev: 5190
|
|
postgresql: 25460
|
|
|
|
services:
|
|
- id: backend-api
|
|
name: Risk Assessment API
|
|
type: nestjs
|
|
port: 4190
|
|
entrypoint: codebase/features/threat-intelligence/backend-api
|
|
startCommand: bun run dev
|
|
description: |
|
|
Risk assessment API — community reports, identifier matching, shadow onboarding,
|
|
threat profiles, admin management. Internal + provider-facing endpoints.
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- threat-intelligence.postgresql
|
|
- infrastructure.redis
|
|
|
|
- id: postgresql
|
|
name: Risk Assessment PostgreSQL
|
|
type: postgresql
|
|
port: 25460
|
|
description: Risk assessment database (threat profiles, flagged identifiers, shadow sessions, community reports)
|
|
docker:
|
|
container: lilith-risk-assessment-postgres
|
|
image: postgres:16-alpine
|
|
env:
|
|
POSTGRES_DB: lilith_risk_assessment
|
|
POSTGRES_USER: lilith
|
|
POSTGRES_PASSWORD: risk_dev
|
|
healthCheck:
|
|
type: tcp
|
|
critical: true
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
production:
|
|
host: vps-0
|