From e2d1f1c23bda13776ddfbb016dbffaf8e685df15 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Mon, 12 Aug 2024 15:40:45 +0200 Subject: [PATCH] add TOML example --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ae283bb..cbc1e32 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,13 @@ This repository contains the DNS TAPIR Event Receiver, a server component use fo ## Configuration - CLIENTS_DATABASE = "clients" - MQTT_BROKER = "localhost" - MQTT_TOPIC_READ = "events/up/#" - MQTT_TOPIC_WRITE = "verified" - SCHEMA_VALIDATION = true +The default configuration file is `evrec.toml`. Example configuration below: + + clients_database = "clients" + schema_validation = true + + [mqtt] + broker = "mqtt://localhost" + topic_read = "events/up/#" + topic_write = "verified" + reconnect_interval = 5