TG settlement service

This commit is contained in:
Stephan D
2026-01-02 14:54:18 +01:00
parent ea1c69f14a
commit 743f683d92
82 changed files with 4693 additions and 503 deletions

View File

@@ -0,0 +1,40 @@
runtime:
shutdown_timeout_seconds: 15
grpc:
network: tcp
address: ":50080"
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
gateway:
rail: "card"
target_chat_id_env: TGSETTLE_GATEWAY_CHAT_ID
timeout_seconds: 120
accepted_user_ids: []