# ============================================================================= # Messaging Feature Services # ============================================================================= # Real-time messaging with WebSocket gateway. feature: id: messaging name: Messaging description: Real-time messaging - threads, participants, WebSocket gateway owner: platform-core ports: backend-api: 3120 postgres: 25447 redis: 26391 services: - id: backend-api name: Messaging API type: backend port: 3120 entrypoint: codebase/features/messaging/backend-api startCommand: bun dev description: REST API + WebSocket gateway for real-time messaging healthCheck: type: http path: /health dependencies: - messaging.postgres - messaging.redis - profile.backend-api - id: postgres name: Messaging PostgreSQL type: postgres port: 25447 description: Messages, threads, participants docker: container: lilith-messaging-postgres healthCheck: type: tcp critical: true - id: redis name: Messaging Redis type: redis port: 26391 description: WebSocket adapter, pub/sub for real-time delivery docker: container: lilith-messaging-redis deployments: dev: host: apricot autostart: false production: host: vps-0