59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
# =============================================================================
|
|
# Analytics
|
|
# =============================================================================
|
|
# Usage metrics and reporting
|
|
|
|
feature:
|
|
id: analytics
|
|
name: Analytics
|
|
description: Usage metrics, reporting, and analytics dashboard
|
|
owner: platform-core
|
|
|
|
ports:
|
|
api: 3012
|
|
frontend-dev: 5173
|
|
postgresql: 5434
|
|
redis: 6381
|
|
|
|
services:
|
|
- id: api
|
|
name: Analytics API
|
|
type: api
|
|
port: 3012
|
|
entrypoint: codebase/features/analytics/backend-api
|
|
description: Analytics collection and reporting API
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- infrastructure.postgresql
|
|
- analytics.postgresql
|
|
- analytics.redis
|
|
|
|
- id: frontend-dev
|
|
name: Analytics Frontend Dev
|
|
type: frontend
|
|
port: 5173
|
|
entrypoint: codebase/features/analytics/frontend
|
|
description: Vite dev server
|
|
|
|
- id: postgresql
|
|
name: Analytics Database
|
|
type: postgresql
|
|
port: 5434
|
|
description: Analytics data storage
|
|
|
|
- id: redis
|
|
name: Analytics Cache
|
|
type: redis
|
|
port: 6381
|
|
description: Analytics cache and real-time data
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
staging:
|
|
host: black
|
|
production:
|
|
host: vps-0
|