platform-deployments/shared-services/messaging.yaml
2026-03-17 15:25:44 -07:00

46 lines
1.1 KiB
YAML

# =============================================================================
# Messaging (Shared Service)
# =============================================================================
# Real-time messaging with WebSocket
# Single instance serving all deployments
deployment:
id: messaging
type: shared
name: Messaging Service
description: Real-time messaging with WebSocket gateway
services:
- id: api
type: api
port: 3120
entrypoint: codebase/features/messaging/backend-api
description: REST API + WebSocket gateway for real-time messaging
healthCheck:
type: http
path: /health
dependencies:
- postgresql
- redis
- profile.api
- id: postgresql
type: postgresql
port: 25447
description: Messages, threads, participants
- id: redis
type: redis
port: 26391
description: WebSocket adapter, pub/sub for real-time delivery
deployments:
dev:
host: apricot
autostart: false
next:
host: black
domain: next.messaging.lilith.black.local
production:
host: vps-0
domain: messaging.atlilith.com