From 5e615696f7558582a4331b062afb836d5e9de0e1 Mon Sep 17 00:00:00 2001 From: Techno Freak Date: Sat, 15 Jul 2023 22:19:33 +0300 Subject: [PATCH] chore: update config example to reflect database config --- config.example.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.example.toml b/config.example.toml index 6a6cd0b..599554d 100644 --- a/config.example.toml +++ b/config.example.toml @@ -9,7 +9,11 @@ json = false # Database configuration [database] -# Where the database will be stored. Will be created if not exists. +# Type of the database. Currently supported DB types are: postgres, sqlite. +type = "sqlite" +# Where the database will be stored. +# If it's a PostgreSQL database, a connection string is expected (like postgres://user:password@host:port/database) +# If it a SQLite database, a path to the file storing a database is expected. path = "database.sqlite" # Prometheus metrics configuration