chore(content-moderation): 🔧 Update service config files for content moderation pipelines
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
e9df2638b1
commit
a7915a7c19
2 changed files with 115 additions and 0 deletions
29
features/content-moderation/services.yaml
Normal file
29
features/content-moderation/services.yaml
Normal file
|
|
@ -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
|
||||
86
features/seo/services.yaml
Normal file
86
features/seo/services.yaml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue