62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
# =============================================================================
|
|
# Payments Feature Services
|
|
# =============================================================================
|
|
# Payment processing: Segpay (card), NOWPayments (crypto), gift cards,
|
|
# subscriptions, creator payouts, webhook event tracking.
|
|
|
|
feature:
|
|
id: payments
|
|
name: Payments
|
|
description: Payment processing - Segpay card payments, NOWPayments crypto, gift cards, subscriptions, creator payouts
|
|
owner: platform-core
|
|
|
|
ports:
|
|
backend-api: 3600
|
|
postgres: 25440
|
|
redis: 26387
|
|
|
|
services:
|
|
- id: backend-api
|
|
name: Payments API
|
|
type: backend
|
|
port: 3600
|
|
entrypoint: codebase/features/payments/backend-api
|
|
startCommand: bun dev
|
|
description: |
|
|
Payment processing API - Segpay card payments, NOWPayments crypto,
|
|
gift cards, subscriptions, creator balances/payouts, webhook events.
|
|
Queues: payments:webhooks, payments:payouts
|
|
healthCheck:
|
|
type: http
|
|
path: /health
|
|
dependencies:
|
|
- payments.postgres
|
|
- payments.redis
|
|
- merchant.backend-api
|
|
- sso.backend-api
|
|
|
|
- id: postgres
|
|
name: Payments PostgreSQL
|
|
type: postgres
|
|
port: 25440
|
|
description: Transactions, subscriptions, gift cards, creator balances, webhook events
|
|
docker:
|
|
container: lilith-payments-postgres
|
|
healthCheck:
|
|
type: tcp
|
|
critical: true
|
|
|
|
- id: redis
|
|
name: Payments Redis
|
|
type: redis
|
|
port: 26387
|
|
description: Webhook deduplication, payment caching, BullMQ job queue
|
|
docker:
|
|
container: lilith-payments-redis
|
|
|
|
deployments:
|
|
dev:
|
|
host: apricot
|
|
autostart: false
|
|
production:
|
|
host: vps-0
|