53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
# =============================================================================
|
|
# Analytics Feature Services
|
|
# =============================================================================
|
|
# Website analytics for transquinnftw.com — dashboard frontend + backend API.
|
|
# Backend proxies to @analytics collector (:4001) for event ingestion and
|
|
# @analytics query API (:4003) for data retrieval.
|
|
|
|
feature:
|
|
id: user-data
|
|
name: User Data
|
|
description: Website analytics dashboard and event ingestion for transquinnftw.com
|
|
owner: quinn
|
|
|
|
ports:
|
|
website-backend-users: 4005
|
|
website-frontend-users: 5122
|
|
|
|
services:
|
|
- id: website-backend-users
|
|
name: Website Analytics API
|
|
type: api
|
|
port: 4005
|
|
entrypoint: codebase/@features/user-data/website-backend-users
|
|
startCommand: bun run dev
|
|
description: |
|
|
BFF for website analytics — proxies event tracking to @analytics collector (:4001)
|
|
and data queries to @analytics query API (:4003).
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- analytics.infrastructure
|
|
|
|
- id: website-frontend-users
|
|
name: Website Analytics Dashboard
|
|
type: frontend
|
|
port: 5122
|
|
entrypoint: codebase/@features/user-data/website-frontend-users
|
|
startCommand: bun run dev
|
|
description: Dashboard for viewing transquinnftw.com analytics — pageviews, traffic, audience, funnels
|
|
healthCheck:
|
|
type: http
|
|
path: /
|
|
dependencies:
|
|
- analytics.website-backend-users
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
domain: analytics.quinn.apricot.lan
|
|
production:
|
|
host: vps-0
|
|
domain: data.transquinnftw.com
|