54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
# =============================================================================
|
|
# Queue Worker
|
|
# =============================================================================
|
|
# Background job processing and queue management
|
|
|
|
feature:
|
|
id: queue-worker
|
|
name: Queue Worker
|
|
description: BullMQ background job processing and admin dashboard
|
|
owner: platform-core
|
|
|
|
ports:
|
|
api: 3080
|
|
websocket: 3081
|
|
redis: 26388
|
|
|
|
services:
|
|
- id: api
|
|
name: Queue Worker API
|
|
type: api
|
|
port: 3080
|
|
entrypoint: codebase/features/queue-worker
|
|
description: Health and management API
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- queue-worker.redis
|
|
|
|
- id: websocket
|
|
name: Queue Worker WebSocket
|
|
type: api
|
|
port: 3081
|
|
entrypoint: codebase/features/queue-worker
|
|
description: Admin dashboard gateway
|
|
dependencies:
|
|
- queue-worker.api
|
|
|
|
- id: redis
|
|
name: Queue Redis
|
|
type: redis
|
|
port: 26388
|
|
description: Dedicated BullMQ Redis instance
|
|
healthCheck:
|
|
type: tcp
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: true
|
|
next:
|
|
host: black
|
|
production:
|
|
host: vps-0
|