runtime:
  shutdown_timeout_seconds: 15

grpc:
  network: tcp
  address: ":50080"
  advertise_host: "dev-tgsettle-gateway"
  enable_reflection: true
  enable_health: true

metrics:
  address: ":9406"

database:
  driver: mongodb
  settings:
    host_env: TGSETTLE_GATEWAY_MONGO_HOST
    port_env: TGSETTLE_GATEWAY_MONGO_PORT
    database_env: TGSETTLE_GATEWAY_MONGO_DATABASE
    user_env: TGSETTLE_GATEWAY_MONGO_USER
    password_env: TGSETTLE_GATEWAY_MONGO_PASSWORD
    auth_source_env: TGSETTLE_GATEWAY_MONGO_AUTH_SOURCE
    replica_set_env: TGSETTLE_GATEWAY_MONGO_REPLICA_SET

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: TGSettle Gateway Service
    max_reconnects: 10
    reconnect_wait: 5
    buffer_size: 1024

gateway:
  rail: "provider_settlement"
  target_chat_id_env: TGSETTLE_GATEWAY_CHAT_ID
  timeout_seconds: 259200
  accepted_user_ids: []
  success_reaction: "\U0001FAE1"
