separated quotation and payments

This commit is contained in:
Stephan D
2026-02-10 18:29:47 +01:00
parent 6745bc0f6f
commit 296cc7b86a
163 changed files with 13516 additions and 191 deletions

View File

@@ -451,6 +451,7 @@ services:
dev-billing-fees: { condition: service_started }
volumes:
- ./api/payments/orchestrator:/src/api/payments/orchestrator
- ./api/payments/storage:/src/api/payments/storage
- ./api/payments/orchestrator/config.dev.yml:/app/config.yml:ro
ports:
- "50062:50062"
@@ -473,6 +474,50 @@ services:
PAYMENTS_GRPC_PORT: 50062
PAYMENTS_METRICS_PORT: 9403
# --------------------------------------------------------------------------
# Payments Quotation Service
# --------------------------------------------------------------------------
dev-payments-quotation:
<<: *common-env
build:
context: .
dockerfile: ci/dev/payments-quotation.dockerfile
image: sendico-dev/payments-quotation:latest
container_name: dev-payments-quotation
restart: unless-stopped
depends_on:
dev-mongo-init: { condition: service_completed_successfully }
dev-nats: { condition: service_started }
dev-discovery: { condition: service_started }
dev-fx-oracle: { condition: service_started }
dev-billing-fees: { condition: service_started }
dev-chain-gateway: { condition: service_started }
volumes:
- ./api/payments/quotation:/src/api/payments/quotation
- ./api/payments/storage:/src/api/payments/storage
- ./api/payments/quotation/config.dev.yml:/app/config.yml:ro
ports:
- "50064:50064"
- "9414:9414"
networks:
- sendico-dev
environment:
PAYMENTS_MONGO_HOST: dev-mongo-1
PAYMENTS_MONGO_PORT: 27017
PAYMENTS_MONGO_DATABASE: payments_orchestrator
PAYMENTS_MONGO_USER: ${MONGO_USER}
PAYMENTS_MONGO_PASSWORD: ${MONGO_PASSWORD}
PAYMENTS_MONGO_AUTH_SOURCE: admin
PAYMENTS_MONGO_REPLICA_SET: dev-rs
NATS_HOST: dev-nats
NATS_PORT: 4222
NATS_USER: ${NATS_USER}
NATS_PASSWORD: ${NATS_PASSWORD}
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
FEES_ADDRESS: dev-billing-fees:50060
ORACLE_ADDRESS: dev-fx-oracle:50051
CHAIN_GATEWAY_ADDRESS: dev-chain-gateway:50053
# --------------------------------------------------------------------------
# Chain Gateway Vault Agent (sidecar for AppRole authentication)
# --------------------------------------------------------------------------
@@ -763,6 +808,7 @@ services:
dev-nats: { condition: service_started }
dev-ledger: { condition: service_started }
dev-payments-orchestrator: { condition: service_started }
dev-payments-quotation: { condition: service_started }
dev-chain-gateway: { condition: service_started }
volumes:
- ./api/server:/src/api/server
@@ -792,6 +838,7 @@ services:
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
LEDGER_ADDRESS: dev-ledger:50052
PAYMENTS_ADDRESS: dev-payments-orchestrator:50062
PAYMENTS_QUOTE_ADDRESS: dev-payments-quotation:50064
TRON_GATEWAY_ADDRESS: dev-tron-gateway:50070
BFF_HTTP_PORT: 8080
API_PROTOCOL: http