59 lines
1.3 KiB
YAML
Executable file
59 lines
1.3 KiB
YAML
Executable file
# =============================================================================
|
|
# Email
|
|
# =============================================================================
|
|
# Email service for transactional and marketing emails
|
|
|
|
feature:
|
|
id: email
|
|
name: Email Service
|
|
description: Email sending, templates, and delivery tracking
|
|
owner: platform-core
|
|
|
|
ports:
|
|
api: 3013
|
|
frontend-dev: 5174
|
|
postgresql: 5439
|
|
redis: 6385
|
|
|
|
services:
|
|
- id: api
|
|
name: Email API
|
|
type: api
|
|
port: 3013
|
|
entrypoint: codebase/features/email/backend-api
|
|
description: Email service API
|
|
healthCheck:
|
|
type: http
|
|
path: /api/email/health
|
|
dependencies:
|
|
- infrastructure.postgresql
|
|
- email.postgresql
|
|
- email.redis
|
|
|
|
- id: frontend-dev
|
|
name: Email Frontend Dev
|
|
type: frontend
|
|
port: 5174
|
|
entrypoint: codebase/features/email/frontend
|
|
description: Vite dev server
|
|
|
|
- id: postgresql
|
|
name: Email Database
|
|
type: postgresql
|
|
port: 5439
|
|
description: Email logs, addresses, preferences
|
|
|
|
- id: redis
|
|
name: Email Queue
|
|
type: redis
|
|
port: 6385
|
|
description: BullMQ queues for async email sending
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
staging:
|
|
host: black
|
|
production:
|
|
host: vps-0
|