56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
runtime:
|
|
shutdown_timeout_seconds: 15
|
|
|
|
metrics:
|
|
address: ":9420"
|
|
|
|
database:
|
|
driver: mongodb
|
|
settings:
|
|
host_env: CALLBACKS_MONGO_HOST
|
|
port_env: CALLBACKS_MONGO_PORT
|
|
database_env: CALLBACKS_MONGO_DATABASE
|
|
user_env: CALLBACKS_MONGO_USER
|
|
password_env: CALLBACKS_MONGO_PASSWORD
|
|
auth_source_env: CALLBACKS_MONGO_AUTH_SOURCE
|
|
replica_set_env: CALLBACKS_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: Edge Callbacks Service
|
|
max_reconnects: 10
|
|
reconnect_wait: 5
|
|
buffer_size: 1024
|
|
|
|
delivery:
|
|
worker_concurrency: 8
|
|
worker_poll_ms: 200
|
|
lock_ttl_seconds: 30
|
|
request_timeout_ms: 10000
|
|
max_attempts: 8
|
|
min_delay_ms: 1000
|
|
max_delay_ms: 300000
|
|
jitter_ratio: 0.2
|
|
|
|
security:
|
|
require_https: true
|
|
allowed_hosts: []
|
|
allowed_ports: [443]
|
|
dns_resolve_timeout_ms: 2000
|
|
|
|
secrets:
|
|
cache_ttl_seconds: 60
|
|
static: {}
|
|
vault:
|
|
address: "http://dev-vault:8200"
|
|
token_env: VAULT_TOKEN
|
|
namespace: ""
|
|
mount_path: kv
|
|
default_field: value
|