Files
sendico/api/payments/quotation/config.yml
2026-02-25 19:25:51 +01:00

53 lines
1.1 KiB
YAML

runtime:
shutdown_timeout_seconds: 15
grpc:
network: tcp
address: ":50064"
advertise_host: "sendico_payments_quotation"
enable_reflection: true
enable_health: true
metrics:
address: ":9414"
messaging:
driver: NATS
settings:
url_env: NATS_URL
host_env: NATS_HOST
port_env: NATS_PORT
username_env: NATS_USER
password_env: NATS_PASSWORD
broker_name: Payments Quotation Service
max_reconnects: 10
reconnect_wait: 5
buffer_size: 1024
database:
driver: mongodb
settings:
host_env: PAYMENTS_MONGO_HOST
port_env: PAYMENTS_MONGO_PORT
database_env: PAYMENTS_MONGO_DATABASE
user_env: PAYMENTS_MONGO_USER
password_env: PAYMENTS_MONGO_PASSWORD
auth_source_env: PAYMENTS_MONGO_AUTH_SOURCE
replica_set_env: PAYMENTS_MONGO_REPLICA_SET
fees:
address: sendico_billing_fees:50060
address_env: FEES_ADDRESS
dial_timeout_seconds: 5
call_timeout_seconds: 5
insecure: true
oracle:
address: sendico_fx_oracle:50051
address_env: ORACLE_ADDRESS
dial_timeout_seconds: 5
call_timeout_seconds: 5
insecure: true
quote_retention_hours: 72