explicit fee execution
This commit is contained in:
@@ -248,6 +248,12 @@ services:
|
||||
NATS_PASSWORD: ${NATS_PASSWORD}
|
||||
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
|
||||
DISCOVERY_METRICS_PORT: 9407
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9405/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# FX Oracle Service
|
||||
@@ -286,6 +292,12 @@ services:
|
||||
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
|
||||
FX_ORACLE_GRPC_PORT: 50051
|
||||
FX_ORACLE_METRICS_PORT: 9400
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9400/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Billing Fees Service
|
||||
@@ -301,7 +313,7 @@ services:
|
||||
depends_on:
|
||||
dev-mongo-init: { condition: service_completed_successfully }
|
||||
dev-nats: { condition: service_started }
|
||||
dev-fx-oracle: { condition: service_started }
|
||||
dev-fx-oracle: { condition: service_healthy }
|
||||
volumes:
|
||||
- ./api/billing/fees:/src/api/billing/fees
|
||||
- ./api/billing/fees/config.dev.yml:/app/config.yml:ro
|
||||
@@ -325,6 +337,12 @@ services:
|
||||
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
|
||||
FEES_GRPC_PORT: 50060
|
||||
FEES_METRICS_PORT: 9402
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9402/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Billing Documents Service
|
||||
@@ -362,6 +380,12 @@ services:
|
||||
DOCUMENTS_MONGO_REPLICA_SET: dev-rs
|
||||
DOCUMENTS_GRPC_PORT: 50061
|
||||
DOCUMENTS_METRICS_PORT: 9409
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9409/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Ledger Service
|
||||
@@ -377,8 +401,8 @@ services:
|
||||
depends_on:
|
||||
dev-mongo-init: { condition: service_completed_successfully }
|
||||
dev-nats: { condition: service_started }
|
||||
dev-discovery: { condition: service_started }
|
||||
dev-billing-fees: { condition: service_started }
|
||||
dev-discovery: { condition: service_healthy }
|
||||
dev-billing-fees: { condition: service_healthy }
|
||||
volumes:
|
||||
- ./api/ledger:/src/api/ledger
|
||||
- ./api/ledger/config.dev.yml:/app/config.yml:ro
|
||||
@@ -408,6 +432,12 @@ services:
|
||||
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
|
||||
LEDGER_GRPC_PORT: 50052
|
||||
LEDGER_METRICS_PORT: 9401
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9401/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# FX Ingestor Service
|
||||
@@ -444,6 +474,12 @@ services:
|
||||
NATS_PASSWORD: ${NATS_PASSWORD}
|
||||
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
|
||||
FX_INGESTOR_METRICS_PORT: 9102
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9102/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Payments Orchestrator Service
|
||||
@@ -459,8 +495,8 @@ services:
|
||||
depends_on:
|
||||
dev-mongo-init: { condition: service_completed_successfully }
|
||||
dev-nats: { condition: service_started }
|
||||
dev-ledger: { condition: service_started }
|
||||
dev-billing-fees: { condition: service_started }
|
||||
dev-ledger: { condition: service_healthy }
|
||||
dev-billing-fees: { condition: service_healthy }
|
||||
volumes:
|
||||
- ./api/payments/orchestrator:/src/api/payments/orchestrator
|
||||
- ./api/payments/storage:/src/api/payments/storage
|
||||
@@ -485,6 +521,12 @@ services:
|
||||
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
|
||||
PAYMENTS_GRPC_PORT: 50062
|
||||
PAYMENTS_METRICS_PORT: 9403
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9403/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Payments Quotation Service
|
||||
@@ -500,10 +542,10 @@ services:
|
||||
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 }
|
||||
dev-discovery: { condition: service_healthy }
|
||||
dev-fx-oracle: { condition: service_healthy }
|
||||
dev-billing-fees: { condition: service_healthy }
|
||||
dev-chain-gateway: { condition: service_healthy }
|
||||
volumes:
|
||||
- ./api/payments/quotation:/src/api/payments/quotation
|
||||
- ./api/payments/storage:/src/api/payments/storage
|
||||
@@ -529,6 +571,12 @@ services:
|
||||
FEES_ADDRESS: dev-billing-fees:50060
|
||||
ORACLE_ADDRESS: dev-fx-oracle:50051
|
||||
CHAIN_GATEWAY_ADDRESS: dev-chain-gateway:50053
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9414/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Payments Methods Service
|
||||
@@ -544,7 +592,7 @@ services:
|
||||
depends_on:
|
||||
dev-mongo-init: { condition: service_completed_successfully }
|
||||
dev-nats: { condition: service_started }
|
||||
dev-discovery: { condition: service_started }
|
||||
dev-discovery: { condition: service_healthy }
|
||||
volumes:
|
||||
- ./api/payments/methods:/src/api/payments/methods
|
||||
- ./api/payments/storage:/src/api/payments/storage
|
||||
@@ -576,6 +624,12 @@ services:
|
||||
NATS_URL: nats://${NATS_USER}:${NATS_PASSWORD}@dev-nats:4222
|
||||
PAYMENTS_METHODS_GRPC_PORT: 50066
|
||||
PAYMENTS_METHODS_METRICS_PORT: 9416
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9416/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Chain Gateway Vault Agent (sidecar for AppRole authentication)
|
||||
@@ -623,7 +677,7 @@ services:
|
||||
depends_on:
|
||||
dev-mongo-init: { condition: service_completed_successfully }
|
||||
dev-nats: { condition: service_started }
|
||||
dev-discovery: { condition: service_started }
|
||||
dev-discovery: { condition: service_healthy }
|
||||
dev-vault: { condition: service_healthy }
|
||||
dev-chain-gateway-vault-agent: { condition: service_healthy }
|
||||
volumes:
|
||||
@@ -654,6 +708,12 @@ services:
|
||||
VAULT_ADDR: ${VAULT_ADDR}
|
||||
VAULT_TOKEN_FILE: /run/vault/token
|
||||
CHAIN_GATEWAY_RPC_URL: ${CHAIN_GATEWAY_RPC_URL}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9406/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# TRON Gateway Vault Agent (sidecar for AppRole authentication)
|
||||
@@ -701,7 +761,7 @@ services:
|
||||
depends_on:
|
||||
dev-mongo-init: { condition: service_completed_successfully }
|
||||
dev-nats: { condition: service_started }
|
||||
dev-discovery: { condition: service_started }
|
||||
dev-discovery: { condition: service_healthy }
|
||||
dev-vault: { condition: service_healthy }
|
||||
dev-tron-gateway-vault-agent: { condition: service_healthy }
|
||||
volumes:
|
||||
@@ -734,6 +794,12 @@ services:
|
||||
TRON_GATEWAY_RPC_URL: ${TRON_GATEWAY_RPC_URL:-}
|
||||
TRON_GATEWAY_GRPC_URL: ${TRON_GATEWAY_GRPC_URL:-}
|
||||
TRON_GATEWAY_GRPC_TOKEN: ${TRON_GATEWAY_GRPC_TOKEN:-}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9408/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Aurora Gateway Service (simulated card payouts)
|
||||
@@ -748,7 +814,7 @@ services:
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
dev-nats: { condition: service_started }
|
||||
dev-discovery: { condition: service_started }
|
||||
dev-discovery: { condition: service_healthy }
|
||||
dev-vault: { condition: service_healthy }
|
||||
volumes:
|
||||
- ./api/gateway/aurora:/src/api/gateway/aurora
|
||||
@@ -777,6 +843,12 @@ services:
|
||||
AURORA_GATEWAY_METRICS_PORT: 9405
|
||||
AURORA_GATEWAY_HTTP_PORT: 8084
|
||||
VAULT_ADDR: ${VAULT_ADDR}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9405/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# ChimeraSettle Gateway Service (simulated settlements)
|
||||
@@ -792,7 +864,7 @@ services:
|
||||
depends_on:
|
||||
dev-mongo-init: { condition: service_completed_successfully }
|
||||
dev-nats: { condition: service_started }
|
||||
dev-discovery: { condition: service_started }
|
||||
dev-discovery: { condition: service_healthy }
|
||||
dev-vault: { condition: service_healthy }
|
||||
volumes:
|
||||
- ./api/gateway/chsettle:/src/api/gateway/chsettle
|
||||
@@ -819,6 +891,12 @@ services:
|
||||
CHSETTLE_GATEWAY_GRPC_PORT: 50080
|
||||
CHSETTLE_GATEWAY_METRICS_PORT: 9406
|
||||
VAULT_ADDR: ${VAULT_ADDR}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9406/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Notification Service
|
||||
@@ -854,6 +932,12 @@ services:
|
||||
MONGO_PASSWORD: ${MONGO_PASSWORD}
|
||||
MONGO_AUTH_SOURCE: admin
|
||||
MONGO_REPLICA_SET: dev-rs
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- \"http://127.0.0.1:8081$${API_ENDPOINT}/health\" | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Callbacks Vault Agent (sidecar for AppRole authentication)
|
||||
@@ -928,6 +1012,12 @@ services:
|
||||
CALLBACKS_METRICS_PORT: 9420
|
||||
VAULT_ADDR: ${VAULT_ADDR}
|
||||
VAULT_TOKEN_FILE: /run/vault/token
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:9420/health | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# BFF Vault Agent (sidecar for AppRole authentication)
|
||||
@@ -976,11 +1066,11 @@ services:
|
||||
depends_on:
|
||||
dev-mongo-init: { condition: service_completed_successfully }
|
||||
dev-nats: { condition: service_started }
|
||||
dev-ledger: { condition: service_started }
|
||||
dev-payments-orchestrator: { condition: service_started }
|
||||
dev-payments-quotation: { condition: service_started }
|
||||
dev-payments-methods: { condition: service_started }
|
||||
dev-chain-gateway: { condition: service_started }
|
||||
dev-ledger: { condition: service_healthy }
|
||||
dev-payments-orchestrator: { condition: service_healthy }
|
||||
dev-payments-quotation: { condition: service_healthy }
|
||||
dev-payments-methods: { condition: service_healthy }
|
||||
dev-chain-gateway: { condition: service_healthy }
|
||||
dev-bff-vault-agent: { condition: service_healthy }
|
||||
volumes:
|
||||
- ./api/edge/bff:/src/api/edge/bff
|
||||
@@ -1020,6 +1110,12 @@ services:
|
||||
API_ENDPOINT: /api/v1
|
||||
VAULT_ADDR: ${VAULT_ADDR}
|
||||
VAULT_TOKEN_FILE: /run/vault/token
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- \"http://127.0.0.1:8080$${API_ENDPOINT}/health\" | grep -q '\"status\":\"ok\"'"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 40s
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# Frontend (Flutter Web)
|
||||
|
||||
Reference in New Issue
Block a user