42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
controller:
|
|
api_prefix: "/api/v1"
|
|
request_id_header: "X-Request-ID"
|
|
|
|
service:
|
|
provider_timeout_seconds: 10.0
|
|
max_parallel_providers: 8
|
|
|
|
business_logic:
|
|
weight_round_scale: 2
|
|
provider_price_multiplier: 1.0
|
|
|
|
repository:
|
|
redis_dsn: "redis://localhost:6379/0"
|
|
price_cache_ttl_seconds: 900
|
|
|
|
adapter:
|
|
cdek_base_url: "https://api.cdek.ru/v2"
|
|
cdek_client_id: "test-client-id"
|
|
cdek_client_secret: "test-client-secret"
|
|
cdek_retry_attempts: 2
|
|
cdek_retry_backoff_seconds: 0.2
|
|
cdek_timeout_seconds: 10.0
|
|
cdek_cache_ttl_seconds: 900
|
|
|
|
tbank_payment:
|
|
init_url: "https://securepay.tinkoff.ru/v2/Init"
|
|
notification_url: "https://merchant.test/api/v1/delivery/tbank/notifications"
|
|
success_url: "https://merchant.test/payment/success"
|
|
auth:
|
|
terminal_key: "test-terminal-key"
|
|
password: "test-password"
|
|
|
|
postgres:
|
|
dsn: "postgresql+asyncpg://postgres:postgres@localhost:5432/missing_address"
|
|
|
|
observability:
|
|
enabled: false
|
|
service_name: "missing-address-suggestions-service"
|
|
otlp_endpoint: "http://collector:4317"
|
|
otlp_insecure: true
|