ai/app.manifest.yaml

59 lines
1.8 KiB
YAML

name: "@ai"
description: "Shared AI cognitive layer — identity, memory, personality, and task management"
type: daemon-service
category: ai
services:
ai-core:
description: "NestJS backend — identity, memory, personality, tasks, context assembly"
type: nestjs
ports:
http: 3790
dependencies:
- ai-postgres
- ai-redis
ai-postgres:
description: "PostgreSQL — long-term memory and entity storage"
type: postgres
ports:
db: 26405
ai-redis:
description: "Redis Stack — short-term memory cache and pub/sub event bus"
type: redis
ports:
db: 26404
platforms:
apricot:
os: linux
host: 10.0.0.13
environment: development
# Services declared in start order: infrastructure first, application last.
# stop reverses this order automatically.
services:
ai-postgres:
type: docker-compose
compose: docker-compose.yml
compose-service: ai-postgres
port: "26405"
description: "PostgreSQL — long-term memory and entity storage"
ai-redis:
type: docker-compose
compose: docker-compose.yml
compose-service: ai-redis
port: "26404"
description: "Redis Stack — short-term memory cache and pub/sub event bus"
ai-core:
type: nestjs
port: "3790"
description: "NestJS backend — identity, memory, personality, tasks, context assembly"
start:
path: services/ai-core
script: pnpm start:dev
status:
command: "curl -sf http://localhost:3790/health | python3 -c \"import sys,json; d=json.load(sys.stdin); print('active' if d.get('status')=='ok' else 'inactive')\" 2>/dev/null || echo 'inactive'"
type: custom
logs:
file: "/tmp/manage-apps-@ai-ai-core.log"