49 lines
937 B
YAML
49 lines
937 B
YAML
runtime:
|
|
shutdown_timeout_seconds: 15
|
|
|
|
grpc:
|
|
network: tcp
|
|
address: ":50075"
|
|
enable_reflection: true
|
|
enable_health: true
|
|
|
|
metrics:
|
|
address: ":9404"
|
|
|
|
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: Monetix Gateway Service
|
|
max_reconnects: 10
|
|
reconnect_wait: 5
|
|
|
|
monetix:
|
|
base_url_env: MONETIX_BASE_URL
|
|
project_id_env: MONETIX_PROJECT_ID
|
|
secret_key_env: MONETIX_SECRET_KEY
|
|
allowed_currencies: ["RUB"]
|
|
require_customer_address: false
|
|
request_timeout_seconds: 15
|
|
status_success: "success"
|
|
status_processing: "processing"
|
|
|
|
gateway:
|
|
id: "monetix"
|
|
is_enabled: true
|
|
# network: "VISA_DIRECT"
|
|
# currencies: ["RUB"]
|
|
# limits:
|
|
# min_amount: "0"
|
|
|
|
http:
|
|
callback:
|
|
address: ":8084"
|
|
path: "/monetix/callback"
|
|
allowed_cidrs: []
|
|
max_body_bytes: 1048576
|