Skip to content

Commit

Permalink
add TOML example
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Aug 12, 2024
1 parent ac80272 commit e2d1f1c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e2d1f1c

Please sign in to comment.