listen: "127.0.0.1:8083" database: driver: mongodb settings: uri_env: SXCHNGE_MONGO_URI database: sxchnge_notifications messaging: driver: NATS settings: url_env: SXCHNGE_NATS_URL broker_name: sxchnge-notifications max_reconnects: -1 reconnect_wait: 2 templates: "templates.example.json" email: driver: resend # sendgrid or resend; see README for authenticated SMTP settings settings: api_key_env: "RESEND_API_KEY" # SENDGRID_API_KEY when driver is sendgrid sender_address: "notifications@example.com" sender_name: "SXCHNGE" # Use replicas: 3 and environment: production for a three-node NATS cluster. # mode: ops validates resources without modifying them; app provisions them. queue: stream: replicas: 1 max_age_hours: 48 provisioning: mode: app environment: non-production