platform-codebase/features/linky/services.yaml
2026-06-10 17:57:54 -07:00

62 lines
1.7 KiB
YAML

# =============================================================================
# Linky URL Shortener Services
# =============================================================================
# URL shortener, redirect, and click tracking service for the Lilith Platform.
# Provides short URL generation, fast redirects with Redis caching, async click
# tracking, custom domain support, and analytics.
feature:
id: linky
name: Linky URL Shortener
description: URL shortener, redirect, and tracking service for the Lilith Platform
owner: platform-core
ports:
frontend-admin-dev: 5170
services:
- id: backend-api
name: Linky API
type: backend
port: 4170
entrypoint: codebase/features/linky/backend-api
startCommand: bun dev
description: |
URL shortener API - link CRUD, redirect, click tracking, analytics.
Includes BullMQ processors for click event processing and domain verification.
Queues: linky:clicks, linky:domain-verification
healthCheck:
type: http
path: /health
dependencies:
- linky.postgresql
- infrastructure.redis
- id: frontend-admin
name: Linky Admin Dashboard
type: frontend
port: 5170
entrypoint: codebase/features/linky/frontend-admin
startCommand: bun dev
description: Link management dashboard for creators - CRUD, analytics, custom domains
healthCheck:
type: http
path: /
dependencies:
- linky.backend-api
- id: postgresql
type: postgresql
port: 5470
description: Linky database (links, click events, domains)
deployments:
dev:
host: apricot
domain: linky.atlilith.local
next:
host: black
domain: next.linky.lilith.black.lan
production:
host: vps-0
domain: linky.atlilith.com