platform-deployments/shared-services/messaging.yaml

47 lines
1.1 KiB
YAML
Raw Normal View History

# =============================================================================
# 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
staging:
host: black
domain: messaging.next.atlilith.com
production:
host: vps-0
domain: messaging.atlilith.com