47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
# =============================================================================
|
|
# Merchant (Shared Service)
|
|
# =============================================================================
|
|
# Centralized product catalog and subscription system
|
|
# Single instance serving all deployments
|
|
|
|
deployment:
|
|
id: merchant
|
|
type: shared
|
|
name: Merchant Service
|
|
description: Product catalog, subscription tiers, inventory management
|
|
|
|
services:
|
|
- id: api
|
|
type: api
|
|
port: 3020
|
|
entrypoint: codebase/features/merchant/backend-api
|
|
description: Product catalog, subscription tiers, inventory management
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- postgresql
|
|
- redis
|
|
- sso.api
|
|
|
|
- id: postgresql
|
|
type: postgresql
|
|
port: 25445
|
|
description: Products, variants, subscription tiers, orders
|
|
|
|
- id: redis
|
|
type: redis
|
|
port: 26390
|
|
description: Product cache, inventory locks
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
staging:
|
|
host: black
|
|
domain: merchant.next.atlilith.com
|
|
production:
|
|
host: vps-0
|
|
domain: api.lilith.is
|
|
path: /merchant
|