55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
controller:
|
|
api_prefix: "/from-config-test-yaml"
|
|
|
|
service:
|
|
provider_timeout_seconds: 17.0
|
|
|
|
business_logic:
|
|
weight_round_scale: 2
|
|
provider_price_multiplier: 1.25
|
|
|
|
repository:
|
|
redis_dsn: "redis://localhost:6379/0"
|
|
|
|
adapter:
|
|
cdek_client_id: "test-id"
|
|
cdek_client_secret: "test-secret"
|
|
|
|
tbank_payment:
|
|
init_url: "https://securepay.tinkoff.ru/v2/Init"
|
|
notification_url: "https://override.test/api/v1/delivery/tbank/notifications"
|
|
success_url: "https://override.test/payment/success"
|
|
auth:
|
|
terminal_key: "override-terminal-key"
|
|
password: "override-password"
|
|
timeout_seconds: 4.25
|
|
retry_attempts: 1
|
|
retry_backoff_seconds: 0.05
|
|
|
|
postgres:
|
|
dsn: "postgresql+asyncpg://postgres:postgres@localhost:5432/override"
|
|
|
|
address_suggestions:
|
|
country_to_provider:
|
|
RU: "dadata"
|
|
AM: "yandex_geosuggest"
|
|
DE: "tomtom"
|
|
dadata:
|
|
url: "https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/address"
|
|
api_key: "override-dadata-key"
|
|
timeout_seconds: 3.0
|
|
yandex_geosuggest:
|
|
url: "https://suggest-maps.yandex.ru/v1/suggest"
|
|
api_key: "override-yandex-key"
|
|
timeout_seconds: 4.5
|
|
tomtom:
|
|
url: "https://api.tomtom.com/search/2/search"
|
|
api_key: "override-tomtom-key"
|
|
timeout_seconds: 5.25
|
|
|
|
observability:
|
|
enabled: true
|
|
service_name: "override-config-service"
|
|
otlp_endpoint: "http://override-collector:4317"
|
|
otlp_insecure: false
|