86 lines
1.8 KiB
YAML
86 lines
1.8 KiB
YAML
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
|
|
next:
|
|
host: black
|
|
production:
|
|
host: vps-0
|