57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
# =============================================================================
|
|
# Merchant Feature Services
|
|
# =============================================================================
|
|
# Product catalog, subscription tiers, inventory management.
|
|
|
|
feature:
|
|
id: merchant
|
|
name: Merchant
|
|
description: Product catalog, subscription tiers, inventory management
|
|
owner: platform-core
|
|
|
|
ports:
|
|
backend-api: 3020
|
|
postgres: 25445
|
|
redis: 26390
|
|
|
|
services:
|
|
- id: backend-api
|
|
name: Merchant API
|
|
type: backend
|
|
port: 3020
|
|
entrypoint: codebase/features/merchant/backend-api
|
|
startCommand: bun dev
|
|
description: Product catalog, subscription tiers, inventory management
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- merchant.postgres
|
|
- merchant.redis
|
|
- sso.backend-api
|
|
|
|
- id: postgres
|
|
name: Merchant PostgreSQL
|
|
type: postgres
|
|
port: 25445
|
|
description: Products, variants, subscription tiers, orders
|
|
docker:
|
|
container: lilith-merchant-postgres
|
|
healthCheck:
|
|
type: tcp
|
|
critical: true
|
|
|
|
- id: redis
|
|
name: Merchant Redis
|
|
type: redis
|
|
port: 26390
|
|
description: Product cache, inventory locks
|
|
docker:
|
|
container: lilith-merchant-redis
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
production:
|
|
host: vps-0
|