58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
# =============================================================================
|
|
# Email Feature Services
|
|
# =============================================================================
|
|
# Email sending, templates, preferences, async queue processing.
|
|
|
|
feature:
|
|
id: email
|
|
name: Email
|
|
description: Email service - templates, preferences, async queue processing, IMAP/SMTP gateway
|
|
owner: platform-core
|
|
|
|
ports:
|
|
backend-api: 3013
|
|
postgres: 25438
|
|
redis: 26385
|
|
|
|
services:
|
|
- id: backend-api
|
|
name: Email API
|
|
type: backend
|
|
port: 3013
|
|
entrypoint: codebase/features/email/backend-api
|
|
startCommand: bun dev
|
|
description: |
|
|
Email service API - template rendering, send queue, preferences management.
|
|
Queues: email:send, email:bulk
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- email.postgres
|
|
- email.redis
|
|
|
|
- id: postgres
|
|
name: Email PostgreSQL
|
|
type: postgres
|
|
port: 25438
|
|
description: Email logs, addresses, preferences, orders
|
|
docker:
|
|
container: lilith-email-postgres
|
|
healthCheck:
|
|
type: tcp
|
|
critical: true
|
|
|
|
- id: redis
|
|
name: Email Redis
|
|
type: redis
|
|
port: 26385
|
|
description: Bull queues for async email processing
|
|
docker:
|
|
container: lilith-email-redis
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
production:
|
|
host: vps-0
|