diff --git a/features/content-moderation/services.yaml b/features/content-moderation/services.yaml new file mode 100644 index 000000000..77bfd5218 --- /dev/null +++ b/features/content-moderation/services.yaml @@ -0,0 +1,29 @@ +feature: + id: content-moderation + name: Content Moderation + description: Content validation and truth-checking for user-generated content + owner: platform-team + +ports: + api: 3500 + +services: + - id: api + name: Content Moderation API + type: nestjs + port: 3500 + entrypoint: codebase/features/content-moderation/backend-api + description: Content moderation with knowledge-verification integration + healthCheck: + type: http + path: /health + dependencies: + - knowledge-verification.api + +deployments: + dev: + host: apricot + staging: + host: black + production: + host: vps-0 diff --git a/features/seo/services.yaml b/features/seo/services.yaml new file mode 100644 index 000000000..479ed12e6 --- /dev/null +++ b/features/seo/services.yaml @@ -0,0 +1,86 @@ +feature: + id: seo + name: SEO + description: SEO content generation and optimization + owner: platform-team + +ports: + api: 3014 + ml-service: 3016 + frontend-admin: 4004 + frontend-public: 4003 + postgresql: 25436 + redis: 26383 + +services: + - id: api + name: SEO Backend API + type: nestjs + port: 3014 + entrypoint: codebase/features/seo/backend-api + description: SEO management API + healthCheck: + type: http + path: /health + dependencies: + - infrastructure.postgresql + - seo.redis + - seo.ml-service + + - id: ml-service + name: SEO ML Service + type: ml + port: 3016 + entrypoint: codebase/features/seo/ml-service + startCommand: "source .venv/bin/activate && python -m lilith_seo_service" + description: SEO content generation with embedded LLM (Ministral-3B) + gpu: true + healthCheck: + type: http + path: /health + dependencies: + - infrastructure.redis + - seo.redis + + - id: frontend-admin + name: SEO Admin Frontend + type: frontend + port: 4004 + entrypoint: codebase/features/seo/frontend-admin + description: SEO admin dashboard + + - id: frontend-public + name: SEO Public Frontend + type: frontend + port: 4003 + entrypoint: codebase/features/seo/frontend-public + description: Programmatic SEO pages + + - id: redis + name: SEO Redis + type: redis + port: 26383 + description: Redis cache for SEO content + docker: + image: redis:7.4-alpine + + - id: postgresql + name: SEO PostgreSQL + type: postgresql + port: 25436 + description: SEO database + docker: + image: postgres:16-alpine + env: + POSTGRES_DB: lilith_seo + POSTGRES_USER: lilith + POSTGRES_PASSWORD: seo_dev + +deployments: + dev: + host: apricot + autostart: false + staging: + host: black + production: + host: vps-0